Ether Framework
Unified API docs for Ether modules
Loading...
Searching...
No Matches
dev.rafex.ether.json.JsonCodec Interface Reference
Inheritance diagram for dev.rafex.ether.json.JsonCodec:
Collaboration diagram for dev.rafex.ether.json.JsonCodec:

Public Member Functions

JsonNode at (JsonNode node, String pointer)
JsonNode readTree (byte[] input)
JsonNode readTree (InputStream input)
JsonNode readTree (String content)
< T > T readValue (byte[] content, Class< T > type)
< T > T readValue (byte[] content, JavaType type)
< T > T readValue (byte[] content, TypeReference< T > typeRef)
< T > T readValue (InputStream input, Class< T > type)
< T > T readValue (InputStream input, JavaType type)
< T > T readValue (InputStream input, TypeReference< T > typeRef)
< T > T readValue (String content, Class< T > type)
< T > T readValue (String content, JavaType type)
< T > T readValue (String content, TypeReference< T > typeRef)
String toJson (Object value)
byte[] toJsonBytes (Object value)
String toPrettyJson (Object value)
< T > T treeToValue (JsonNode node, Class< T > type)
< T > T treeToValue (JsonNode node, TypeReference< T > typeRef)
JsonNode valueToTree (Object value)
void writeValue (OutputStream output, Object value)

Detailed Description

Definition at line 36 of file JsonCodec.java.

Member Function Documentation

◆ at()

JsonNode dev.rafex.ether.json.JsonCodec.at ( JsonNode node,
String pointer )

◆ readTree() [1/3]

JsonNode dev.rafex.ether.json.JsonCodec.readTree ( byte[] input)

◆ readTree() [2/3]

JsonNode dev.rafex.ether.json.JsonCodec.readTree ( InputStream input)

◆ readTree() [3/3]

JsonNode dev.rafex.ether.json.JsonCodec.readTree ( String content)

◆ readValue() [1/9]

< T > T dev.rafex.ether.json.JsonCodec.readValue ( byte[] content,
Class< T > type )

◆ readValue() [2/9]

< T > T dev.rafex.ether.json.JsonCodec.readValue ( byte[] content,
JavaType type )

◆ readValue() [3/9]

< T > T dev.rafex.ether.json.JsonCodec.readValue ( byte[] content,
TypeReference< T > typeRef )

◆ readValue() [4/9]

< T > T dev.rafex.ether.json.JsonCodec.readValue ( InputStream input,
Class< T > type )

◆ readValue() [5/9]

< T > T dev.rafex.ether.json.JsonCodec.readValue ( InputStream input,
JavaType type )

◆ readValue() [6/9]

< T > T dev.rafex.ether.json.JsonCodec.readValue ( InputStream input,
TypeReference< T > typeRef )

◆ readValue() [7/9]

< T > T dev.rafex.ether.json.JsonCodec.readValue ( String content,
Class< T > type )

◆ readValue() [8/9]

< T > T dev.rafex.ether.json.JsonCodec.readValue ( String content,
JavaType type )

◆ readValue() [9/9]

< T > T dev.rafex.ether.json.JsonCodec.readValue ( String content,
TypeReference< T > typeRef )

◆ toJson()

String dev.rafex.ether.json.JsonCodec.toJson ( Object value)

◆ toJsonBytes()

byte[] dev.rafex.ether.json.JsonCodec.toJsonBytes ( Object value)

◆ toPrettyJson()

String dev.rafex.ether.json.JsonCodec.toPrettyJson ( Object value)

◆ treeToValue() [1/2]

< T > T dev.rafex.ether.json.JsonCodec.treeToValue ( JsonNode node,
Class< T > type )

◆ treeToValue() [2/2]

< T > T dev.rafex.ether.json.JsonCodec.treeToValue ( JsonNode node,
TypeReference< T > typeRef )

◆ valueToTree()

JsonNode dev.rafex.ether.json.JsonCodec.valueToTree ( Object value)

◆ writeValue()

void dev.rafex.ether.json.JsonCodec.writeValue ( OutputStream output,
Object value )

The documentation for this interface was generated from the following file:
  • ether-json/ether-json/src/main/java/dev/rafex/ether/json/JsonCodec.java