java - Neo4j ValueRepresentation value -
how can original string value (somestring
) instance of org.neo4j.server.rest.repr.valuerepresentation
created code return of server-plugin:
return valuerepresentation.string(somestring)
what need for?
probably use serialize, pass in representationformat
passes on value result in serializevalue
method.
valuerepresentation { string serialize( representationformat format, uri baseuri, extensioninjector extensions ) { final string result = format.serializevalue(type, value); format.complete(); return result; } }
Comments
Post a Comment