Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.neo4j.server.rest.repr.formats
Class JsonFormat

    java.lang.Object
      org.neo4j.server.rest.repr.RepresentationFormat
          org.neo4j.server.rest.repr.formats.JsonFormat

All Implemented Interfaces:
  InputFormat

    public class JsonFormat

extends RepresentationFormat

Constructor Summary
`JsonFormat()`

Method Summary
`protected String` | `complete(ListWriter serializer)`
`protected String` | `complete(MappingWriter serializer)`
`List<Object>` | `readList(String input)`
`Map<String,Object>` | `readMap(String input)`
`URI` | `readUri(String input)`
`Object` | `readValue(String input)`
`protected ListWriter` | `serializeList(String type)`
`protected MappingWriter` | `serializeMapping(String type)`
`protected String` | `serializeValue(String type, Object value)`

Methods inherited from class org.neo4j.server.rest.repr.RepresentationFormat
`convertBoolean, convertByte, convertCharacter, convertDouble, convertFloat, convertInteger, convertLong, convertNode, convertRelationship, convertShort, convertString, convertURI, getNode, getNode, getRelationship, readParameterList, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### JsonFormat

    public JsonFormat()

Method Detail

### serializeList

    protected ListWriter serializeList(String type)

  Specified by:
    `serializeList` in class `RepresentationFormat`

### complete

    protected String complete(ListWriter serializer)

  Specified by:
    `complete` in class `RepresentationFormat`

### serializeMapping

    protected MappingWriter serializeMapping(String type)

  Specified by:
    `serializeMapping` in class `RepresentationFormat`

### complete

    protected String complete(MappingWriter serializer)

  Specified by:
    `complete` in class `RepresentationFormat`

### serializeValue

    protected String serializeValue(String type,
                                    Object value)

  Specified by:
    `serializeValue` in class `RepresentationFormat`

### readMap

    public Map<String,Object> readMap(String input)
                               throws BadInputException

  Throws:
    `BadInputException`

### readList

    public List<Object> readList(String input)

### readValue

    public Object readValue(String input)
                     throws BadInputException

  Throws:
    `BadInputException`

### readUri

    public URI readUri(String input)
                throws BadInputException

  Throws:
    `BadInputException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.