Class ValueSchemaJsonParser

java.lang.Object
gov.nasa.jpl.aerie.merlin.driver.json.ValueSchemaJsonParser
All Implemented Interfaces:
gov.nasa.jpl.aerie.json.JsonParser<gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema>

public final class ValueSchemaJsonParser extends Object implements gov.nasa.jpl.aerie.json.JsonParser<gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final gov.nasa.jpl.aerie.json.JsonParser<gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javax.json.JsonObject
    getSchema(gov.nasa.jpl.aerie.json.SchemaCache anchors)
     
    gov.nasa.jpl.aerie.json.JsonParseResult<gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema>
    parse(javax.json.JsonValue json)
     
    static <T> javax.json.JsonValue
    serializeIterable(Function<T,javax.json.JsonValue> elementSerializer, Iterable<T> elements)
     
    static <T> javax.json.JsonValue
    serializeMap(Function<T,javax.json.JsonValue> fieldSerializer, Map<String,T> fields)
     
    javax.json.JsonValue
    unparse(gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema schema)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface gov.nasa.jpl.aerie.json.JsonParser

    getSchema, map, map
  • Field Details

    • valueSchemaP

      public static final gov.nasa.jpl.aerie.json.JsonParser<gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema> valueSchemaP
  • Constructor Details

    • ValueSchemaJsonParser

      public ValueSchemaJsonParser()
  • Method Details

    • getSchema

      public javax.json.JsonObject getSchema(gov.nasa.jpl.aerie.json.SchemaCache anchors)
      Specified by:
      getSchema in interface gov.nasa.jpl.aerie.json.JsonParser<gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema>
    • parse

      public gov.nasa.jpl.aerie.json.JsonParseResult<gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema> parse(javax.json.JsonValue json)
      Specified by:
      parse in interface gov.nasa.jpl.aerie.json.JsonParser<gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema>
    • unparse

      public javax.json.JsonValue unparse(gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema schema)
      Specified by:
      unparse in interface gov.nasa.jpl.aerie.json.JsonParser<gov.nasa.jpl.aerie.merlin.protocol.types.ValueSchema>
    • serializeIterable

      public static <T> javax.json.JsonValue serializeIterable(Function<T,javax.json.JsonValue> elementSerializer, Iterable<T> elements)
    • serializeMap

      public static <T> javax.json.JsonValue serializeMap(Function<T,javax.json.JsonValue> fieldSerializer, Map<String,T> fields)