Public Member Functions | |
Parser | ignoringUnknownFields () |
Parser | ignoringUnknownFields () |
void | merge (Reader json, Message.Builder builder) throws IOException |
void | merge (Reader json, Message.Builder builder) throws IOException |
void | merge (String json, Message.Builder builder) throws InvalidProtocolBufferException |
void | merge (String json, Message.Builder builder) throws InvalidProtocolBufferException |
Parser | usingTypeRegistry (com.google.protobuf.TypeRegistry registry) |
Parser | usingTypeRegistry (com.google.protobuf.TypeRegistry registry) |
Parser | usingTypeRegistry (TypeRegistry oldRegistry) |
Parser | usingTypeRegistry (TypeRegistry oldRegistry) |
Private Member Functions | |
Parser (com.google.protobuf.TypeRegistry registry, TypeRegistry oldRegistry, boolean ignoreUnknownFields, int recursionLimit) | |
Parser (com.google.protobuf.TypeRegistry registry, TypeRegistry oldRegistry, boolean ignoreUnknownFields, int recursionLimit) | |
Private Attributes | |
final boolean | ignoringUnknownFields |
final TypeRegistry | oldRegistry |
final int | recursionLimit |
final com.google.protobuf.TypeRegistry | registry |
Static Private Attributes | |
static final int | DEFAULT_RECURSION_LIMIT = 100 |
A Parser parses JSON to protobuf message.
Definition at line 407 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inlineprivate |
Definition at line 416 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inlineprivate |
Definition at line 416 of file protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inline |
Creates a new Parser configured to not throw an exception when an unknown field is encountered. The new Parser clones all other configurations from this Parser.
Definition at line 463 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inline |
Creates a new Parser configured to not throw an exception when an unknown field is encountered. The new Parser clones all other configurations from this Parser.
Definition at line 463 of file protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inline |
Parses from JSON into a protobuf message.
InvalidProtocolBufferException | if the input is not valid JSON format or there are unknown fields in the input. |
IOException | if reading from the input throws. |
Definition at line 487 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inline |
Parses from JSON into a protobuf message.
InvalidProtocolBufferException | if the input is not valid JSON format or there are unknown fields in the input. |
IOException | if reading from the input throws. |
Definition at line 487 of file protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inline |
Parses from JSON into a protobuf message.
InvalidProtocolBufferException | if the input is not valid JSON format or there are unknown fields in the input. |
Definition at line 473 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inline |
Parses from JSON into a protobuf message.
InvalidProtocolBufferException | if the input is not valid JSON format or there are unknown fields in the input. |
Definition at line 473 of file protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inline |
Creates a new Parser using the given registry. The new Parser clones all other configurations from this Parser.
IllegalArgumentException | if a registry is already set. |
Definition at line 451 of file protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inline |
Creates a new Parser using the given registry. The new Parser clones all other configurations from this Parser.
IllegalArgumentException | if a registry is already set. |
Definition at line 451 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inline |
Creates a new Parser using the given registry. The new Parser clones all other configurations from this Parser.
IllegalArgumentException | if a registry is already set. |
Definition at line 433 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
inline |
Creates a new Parser using the given registry. The new Parser clones all other configurations from this Parser.
IllegalArgumentException | if a registry is already set. |
Definition at line 433 of file protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
staticprivate |
Definition at line 414 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
private |
Definition at line 410 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
private |
Definition at line 409 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
private |
Definition at line 411 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.
|
private |
Definition at line 408 of file bloaty/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/JsonFormat.java.