Skip to content
Snippets Groups Projects
Commit ece65da6 authored by Ludovico de Nittis's avatar Ludovico de Nittis
Browse files

Backport the new json_from_string() function


JSON-GLib 1.2.0 introduced a new function called `json_from_string()`.

It is an handy function that allows us to obtain a jsonNode with just a
single operation.

This function had to be backported, and modified a little, because we
are
targeting Scout that has an older JSON-GLib version that misses both
`json_from_string()` and `json_parser_steal_root()` (that was used in
`json_from_string()`).

Signed-off-by: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
parent 7604a0f0
No related branches found
No related tags found
1 merge request!224Backport the new json_from_string() function
Pipeline #7832 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment