class_docstr: JSON format parser for protocol message.
docstr: Convert a JSON representation into Struct message.
docstr_tok: ["Convert","a","JSON","representation","into","Struct","message","."]
code: def _ConvertStructMessage(self, value, message):
      """Convert a JSON representation into Struct message."""
      if not isinstance(value, dict):
          raise ParseError(
              "Struct must be in a dict which is {0}.".format(value)
          )
      # Clear will mark the struct as modified so it will be created even if
      # there are no values.
      message.Clear()
      for key in value:
          self._ConvertValueMessage(value[key], message.fields[key])
      return
  
imports: import base64
  from collections import OrderedDict
  import json
  import math
  from operator import methodcaller
  import re
  import sys
  from google.protobuf.internal import type_checkers
  from google.protobuf import descriptor
  from google.protobuf import symbol_database
label_desc: Use image node_id 8 for calling the _Parser obj's underlying member method code with example usage: obj._ConvertStructMessage(value, message) without return types