Hello! I'm currently trying to transfer S24 plugin code into R25. As i see in changelog, parser_json.h is replaced with parser.h. But the usage is not clear. In the code, i was reading the string with
jsonParser.Read(result, maxon::JSONPARSERFLAGS::NONE, dd) iferr_return;
and jsonParser is
maxon::JsonParserRef jsonParser;
created like this
auto jsonCRes = maxon::JsonParserRef::Create();
if (jsonCRes == maxon::FAILED)
MessageDialog("JSON parser create fail"_s);
jsonParser = jsonCRes.GetValue();
I couldn't find anything similar to such creation in the new parser. Could you breafly explain how to create a valid ParserRef and call ReadString to convert string into dictionary?
Thanks!