webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Static Public Member Functions | List of all members
com.google.protobuf.util.JsonFormat Class Reference

Classes

class  Parser
 
class  Printer
 
class  TypeRegistry
 

Static Public Member Functions

static Printer printer ()
 
static Parser parser ()
 

Detailed Description

Utility classes to convert protobuf messages to/from JSON format. The JSON format follows Proto3 JSON specification and only proto3 features are supported. Proto2 only features (e.g., extensions and unknown fields) will be discarded in the conversion. That is, when converting proto2 messages to JSON format, extensions and unknown fields will be treated as if they do not exist. This applies to proto2 messages embedded in proto3 messages as well.

Member Function Documentation

◆ parser()

static Parser com.google.protobuf.util.JsonFormat.parser ( )
inlinestatic

Creates a Parser with default configuration.

◆ printer()

static Printer com.google.protobuf.util.JsonFormat.printer ( )
inlinestatic

Creates a Printer with default configurations.


The documentation for this class was generated from the following file: