Package generic.json
Class JSONToken
java.lang.Object
generic.json.JSONToken
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
type
-
start
public int start -
end
public int end -
size
public int size
-
-
Constructor Details
-
JSONToken
JSON token description.- Parameters:
type
- the token type (object, array, string etc.)start
- the start position in JSON data stringend
- the end position in JSON data string
-
-
Method Details
-
setType
-
getType
-
setStart
public void setStart(int start) -
getStart
public int getStart() -
setEnd
public void setEnd(int end) -
getEnd
public int getEnd() -
setSize
public void setSize(int size) -
getSize
public int getSize() -
incSize
public void incSize()
-