| Modifier and Type | Method and Description |
|---|---|
static JsonSource |
JsonSource.newInstance(byte[] bytes) |
static JsonSource |
JsonSource.newInstance(byte[] bytes,
int offset,
int length) |
static JsonSource |
JsonSource.newInstance(InputStream inputStream) |
static JsonSource |
JsonSource.newInstance(RepeatedByte bytes) |
static JsonSource |
JsonSource.newInstance(String string) |
JsonSource |
JsonSource.setIgnoreUnknownFields(boolean ignoreUnknownFields)
Allows to serialize enums as human readable strings or
as JSON numbers.
|
| Modifier and Type | Method and Description |
|---|---|
MessageType |
ProtoMessage.mergeFrom(JsonSource input)
Parse
input as a message of this type and merge it with the
message being built. |
static <T extends ProtoMessage<T>> |
ProtoMessage.mergeFrom(T msg,
JsonSource input)
Parse
input as a message of this type and merge it with the message being built. |
Copyright © 2019–2024 HEBI Robotics. All rights reserved.