GNOME Bugzilla – Bug 779970
Parsed arrays are immutable even with mutable parser instance
Last modified: 2017-03-13 09:16:00 UTC
Hi, I am trying to change value of JsonNode in JsonArray via json_path_query, but It couldn't "json_node_set_string: assertion '!node->immutable' failed". Link: https://github.com/LuckyBC/Json-Glib
Created attachment 347813 [details] [review] Only seal arrays and objects when a parser is immutable We seal nodes conditionally on the :immutable property, but we are sealing their contents unconditionally.
Attachment 347813 [details] pushed as 0cb1db3 - Only seal arrays and objects when a parser is immutable