
public class OJson extends SimpleNode
| Modifier and Type | Field and Description |
|---|---|
protected List<OJsonItem> |
items |
children, firstToken, id, lastToken, parent, parser, value| Constructor and Description |
|---|
OJson(int id) |
OJson(OrientSql p,
int id) |
| Modifier and Type | Method and Description |
|---|---|
Object |
jjtAccept(OrientSqlVisitor visitor,
Object data)
Accept the visitor.
|
ODocument |
toDocument(OIdentifiable source,
OCommandContext ctx) |
Map<String,Object> |
toMap(OIdentifiable source,
OCommandContext ctx) |
Object |
toObjectDetermineType(OIdentifiable source,
OCommandContext ctx)
choosing return type is based on existence of @class field in JSON
|
void |
toString(Map<Object,Object> params,
StringBuilder builder) |
childrenAccept, dump, getDatabase, getValue, jjtAddChild, jjtClose, jjtGetChild, jjtGetFirstToken, jjtGetLastToken, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetFirstToken, jjtSetLastToken, jjtSetParent, jjtSetValue, toString, toStringpublic OJson(int id)
public OJson(OrientSql p, int id)
public Object jjtAccept(OrientSqlVisitor visitor, Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodepublic void toString(Map<Object,Object> params, StringBuilder builder)
toString in class SimpleNodepublic ODocument toDocument(OIdentifiable source, OCommandContext ctx)
public Object toObjectDetermineType(OIdentifiable source, OCommandContext ctx)
source - ctx - public Map<String,Object> toMap(OIdentifiable source, OCommandContext ctx)
Copyright © 2009–2025 OrientDB. All rights reserved.