You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
putils and errorType are only used internally and there is almost no reason to use them. putils is used to determine the location of problems. errorType is used to determine how error in subobjects are handled.
errors will contains all the error/warning raised during the parsing. You can't ask to ignore the errors but you are in full control of what to do with the errors.
I ended up making a patch on my fork which includes the ability to ignore the UnknownVariable error type so I can successfully retrieve a value if there are extra values in the JSON.
The arguments to JsonParser are not documented at all, I was trying to figure out if "Unknown variable" can be set to be ignored.
errors
is an existing array to be populated with errorsputils
is what?errorType
is what?The text was updated successfully, but these errors were encountered: