public class TableIdentifierParser
extends java.lang.Object
For TableIdentifier.of("dogs", "owners.and.handlers", "food"), we'd have the following JSON representation, where the dot character of an individual level is in the namespace is replaced by the unit separator byte character.
{ "namespace": ["dogs", "owners.and.handlers"], "name": "food" }
Modifier and Type | Method and Description |
---|---|
static TableIdentifier |
fromJson(com.fasterxml.jackson.databind.JsonNode node) |
static TableIdentifier |
fromJson(java.lang.String json) |
static java.lang.String |
toJson(TableIdentifier identifier) |
static java.lang.String |
toJson(TableIdentifier identifier,
boolean pretty) |
static void |
toJson(TableIdentifier identifier,
com.fasterxml.jackson.core.JsonGenerator generator) |
public static java.lang.String toJson(TableIdentifier identifier)
public static java.lang.String toJson(TableIdentifier identifier, boolean pretty)
public static void toJson(TableIdentifier identifier, com.fasterxml.jackson.core.JsonGenerator generator) throws java.io.IOException
java.io.IOException
public static TableIdentifier fromJson(java.lang.String json)
public static TableIdentifier fromJson(com.fasterxml.jackson.databind.JsonNode node)