Méthode | Description | |
---|---|---|
JSONVisitor ( |
Initializes a new JSONVisitor bound to a Matcher.
|
|
JSONVisitor ( string s ) : System |
Initializes a new JSONVisitor on a string. A Matcher is automatically created.
|
|
Visit ( ) : bool |
Visits any json item: it is either a terminal (VisitTerminalValue), {"an":"object"} (see VisitObjectContent or ["an","array"] (see VisitArrayContent).
|
|
VisitArrayContent ( ) : bool |
Visits a comma seprarated list of json items until a closing ']' is found.
|
|
VisitObjectContent ( ) : bool |
Visits a comma seprarated list of "property" : ... fields until a closing } is found or Matcher.
|
Méthode | Description | |
---|---|---|
SkipWhiteSpaces ( ) : void |
Skips white spaces: simply calls StringMatcher.MatchWhiteSpaces(int) with 0 minimal count of spaces.
|
|
VisitArrayCell ( int cellNumber ) : bool |
Visits a cell in a Parent array.
|
|
VisitObjectProperty ( int startPropertyIndex, string propertyName, int propertyNumber ) : bool |
Visits a "property" : ... JSON property.
|
|
VisitTerminalValue ( ) : bool |
Visits a terminal value. This method simply calls
|
public JSONVisitor ( |
||
m | The string matcher. | |
Résultat | System |
public JSONVisitor ( string s ) : System | ||
s | string | The string to parse. |
Résultat | System |
protected VisitArrayCell ( int cellNumber ) : bool | ||
cellNumber | int | Zero based cell nummber. |
Résultat | bool |
protected VisitObjectProperty ( int startPropertyIndex, string propertyName, int propertyNumber ) : bool | ||
startPropertyIndex | int |
/// Starting index of the |
propertyName | string | Parsed property name. |
propertyNumber | int | Zero based number of the property in the |
Résultat | bool |