Package proto3-json-serializer (1.0.3)
Interfaces
Functions
fromProto3JSON(type, json)
export declare function fromProto3JSON(type: protobuf.Type, json: JSONValue): protobuf.Message<{}> | null;
Parameters
Name | Description |
type | protobuf.Type
|
json | JSONValue
|
Returns
Type | Description |
protobuf.Message<{}> | null | |
toProto3JSON(obj)
export declare function toProto3JSON(obj: protobuf.Message): JSONValue;
Parameter
Name | Description |
obj | protobuf.Message
|
Returns
Type Aliases
JSONValue
export declare type JSONValue = string | number | boolean | null | JSONValue[] | {
[key: string]: JSONValue;
};
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-22 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]