json_stringify got a new filter_func parameter, on top of value and pretty_print
json_parse got a new filter_func and inhibit_string_convert parameters on top of json
The filter function allows a more fine-grained control over how specific values and structures are read/parsed, while inhibit string convert parameter disabled automatically parsing asset reference strings. Those would be useful not only for json_stringify/parse, but also json_save/load as well.
For the sake of brevity, the new arguments should be called filter (the counterpart to filter_func) and raw (the counterpart to inhibit_string_convert).
During one of the recent updates:
filter_func
parameter, on top ofvalue
andpretty_print
filter_func
andinhibit_string_convert
parameters on top ofjson
The filter function allows a more fine-grained control over how specific values and structures are read/parsed, while inhibit string convert parameter disabled automatically parsing asset reference strings. Those would be useful not only for json_stringify/parse, but also json_save/load as well.
For the sake of brevity, the new arguments should be called
filter
(the counterpart to filter_func) andraw
(the counterpart to inhibit_string_convert).