Classes | Namespaces | Functions | Variables
json_format.py File Reference

Go to the source code of this file.

Classes

class  google.protobuf.json_format._Parser
 
class  google.protobuf.json_format._Printer
 
class  google.protobuf.json_format.Error
 
class  google.protobuf.json_format.ParseError
 
class  google.protobuf.json_format.SerializeToJsonError
 

Namespaces

 google.protobuf.json_format
 

Functions

def google.protobuf.json_format._ConvertBool (value, require_str)
 
def google.protobuf.json_format._ConvertFloat (value)
 
def google.protobuf.json_format._ConvertInteger (value)
 
def google.protobuf.json_format._ConvertScalarFieldValue (value, field, require_str=False)
 
def google.protobuf.json_format._CreateMessageFromTypeUrl (type_url, descriptor_pool)
 
def google.protobuf.json_format._DuplicateChecker (js)
 
def google.protobuf.json_format._IsMapEntry (field)
 
def google.protobuf.json_format._IsWrapperMessage (message_descriptor)
 
def google.protobuf.json_format.MessageToDict (message, including_default_value_fields=False, preserving_proto_field_name=False, use_integers_for_enums=False, descriptor_pool=None)
 
def google.protobuf.json_format.MessageToJson (message, including_default_value_fields=False, preserving_proto_field_name=False, indent=2, sort_keys=False, use_integers_for_enums=False, descriptor_pool=None)
 
def google.protobuf.json_format.Parse (text, message, ignore_unknown_fields=False, descriptor_pool=None)
 
def google.protobuf.json_format.ParseDict (js_dict, message, ignore_unknown_fields=False, descriptor_pool=None)
 

Variables

string google.protobuf.json_format.__author__ = 'jieluo@google.com (Jie Luo)'
 
 google.protobuf.json_format._FLOAT_TYPES
 
string google.protobuf.json_format._INFINITY = 'Infinity'
 
 google.protobuf.json_format._INT64_TYPES
 
 google.protobuf.json_format._INT_OR_FLOAT = six.integer_types + (float,)
 
 google.protobuf.json_format._INT_TYPES
 
string google.protobuf.json_format._NAN = 'NaN'
 
string google.protobuf.json_format._NEG_INFINITY = '-Infinity'
 
string google.protobuf.json_format._TIMESTAMPFOMAT = '%Y-%m-%dT%H:%M:%S'
 
 google.protobuf.json_format._UNPAIRED_SURROGATE_PATTERN
 
 google.protobuf.json_format._VALID_EXTENSION_NAME = re.compile(r'\[[a-zA-Z0-9\._]*\]$')
 
dictionary google.protobuf.json_format._WKTJSONMETHODS
 


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:03