| 程序包 | 说明 |
|---|---|
| org.starcoin.serde.format |
Module defining the Abstract Syntax Tree (AST) of Serde formats.
|
| org.starcoin.serde.format.jackson |
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Format.Map |
static class |
Format.Option |
static class |
Format.Primitive
The formats of primitive types.
|
static class |
Format.Seq |
static class |
Format.Tuple
A tuple, e.g. the format of `(Foo, Bar)`.
|
static class |
Format.TupleArray
Alias for `(Foo, ...
|
static class |
Format.TypeName
The name of a container.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Format |
Format.TupleArray.getContent() |
Format |
ContainerFormat.NewTypeStruct.getFormat() |
Format |
VariantFormat.NewType.getFormat() |
Format |
Format.Option.getFormat() |
Format |
Format.Seq.getFormat() |
Format |
Format.Map.getKey() |
Format |
Format.Map.getValue() |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Format> |
ContainerFormat.TupleStruct.getFormats() |
List<Format> |
VariantFormat.Tuple.getFormats() |
List<Format> |
Format.Tuple.getFormats() |
| 构造器和说明 |
|---|
Map(Format key,
Format value) |
NewType(Format format) |
NewTypeStruct(Format format) |
Option(Format format) |
Seq(Format format) |
TupleArray(Format content,
int size) |
| 构造器和说明 |
|---|
Tuple(List<Format> formats) |
Tuple(List<Format> formats) |
TupleStruct(List<Format> formats) |
| 限定符和类型 | 方法和说明 |
|---|---|
Format |
FormatDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Class<Format> |
NamedFormatDeserializer.valueType() |
Copyright © 2021. All rights reserved.