| Package | Description |
|---|---|
| org.onosproject.codec |
Base JSON codec abstraction and a service for tracking various JSON codecs.
|
| Modifier and Type | Method and Description |
|---|---|
<T> JsonCodec<T> |
CodecContext.codec(Class<T> entityClass)
Returns the JSON codec for the specified entity class.
|
<T> JsonCodec<T> |
CodecService.getCodec(Class<T> entityClass)
Returns the JSON codec for the specified entity class.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
CodecService.registerCodec(Class<T> entityClass,
JsonCodec<T> codec)
Registers the specified JSON codec for the given entity class.
|
Copyright © 2015. All rights reserved.