Class fsJsonParser
A simple recursive descent parser for JSON.
Namespace: Unity.VisualScripting.FullSerializer
Syntax
public class fsJsonParser
Methods
Parse(String)
Helper method for Parse that does not allow the error information to be recovered.
Declaration
public static fsData Parse(string input)
Parameters
Type | Name | Description |
---|---|---|
String | input |
Returns
Type | Description |
---|---|
fsData |
Parse(String, out fsData)
Parses the specified input. Returns a failure state if parsing failed.
Declaration
public static fsResult Parse(string input, out fsData data)
Parameters
Type | Name | Description |
---|---|---|
String | input | The input to parse. |
fsData | data | The parsed data. This is undefined if parsing fails. |
Returns
Type | Description |
---|---|
fsResult | The parsed input. |