Class Schema.SchemaTypeAdapter
- java.lang.Object
-
- org.apache.johnzon.jsonschema.generator.Schema.SchemaTypeAdapter
-
- All Implemented Interfaces:
jakarta.json.bind.adapter.JsonbAdapter<Schema.SchemaType,String>
- Enclosing class:
- Schema
public static class Schema.SchemaTypeAdapter extends Object implements jakarta.json.bind.adapter.JsonbAdapter<Schema.SchemaType,String>
-
-
Constructor Summary
Constructors Constructor Description SchemaTypeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Schema.SchemaType
adaptFromJson(String obj)
String
adaptToJson(Schema.SchemaType obj)
-
-
-
Method Detail
-
adaptToJson
public String adaptToJson(Schema.SchemaType obj)
- Specified by:
adaptToJson
in interfacejakarta.json.bind.adapter.JsonbAdapter<Schema.SchemaType,String>
-
adaptFromJson
public Schema.SchemaType adaptFromJson(String obj)
- Specified by:
adaptFromJson
in interfacejakarta.json.bind.adapter.JsonbAdapter<Schema.SchemaType,String>
-
-