parameters: (cls, json_str: str, primitive_cls: Type[message.Message],
                      context: Context)
return_statement: return cls(boolean, context)
docstring: See PrimitiveWrapper.from_json_str.
docstring_summary: See PrimitiveWrapper.from_json_str.
docstring_tokens: See PrimitiveWrapper . from_json_str .
function: def from_json_str(cls, json_str: str, primitive_cls: Type[message.Message],
                      context: Context) -> 'BooleanWrapper':
      """See PrimitiveWrapper.from_json_str."""
      boolean = cast(Any, primitive_cls)(value=json_str.lower() == 'true')
      return cls(boolean, context)
function_tokens: def from_json_str ( cls , json_str : str , primitive_cls : Type [ message . Message ] , context : Context ) -> 'BooleanWrapper' : boolean = cast ( Any , primitive_cls ) ( value = json_str . lower ( ) == 'true' ) return cls ( boolean , context )