parameters: (data)
return_statement: return json_formatter.dumps(data)
docstring: Converts the output of `generate(...)` to formatted json.
  
      Args:
          data: The data structure outputted by `generate()`
  
      Floats are rounded to three decimals and positional vectors are printed on
      one line with some whitespace buffer.
docstring_summary: Converts the output of `generate(...)` to formatted json.
docstring_tokens: Converts the output of generate ( ... ) to formatted json .
function: def to_json(data):
      """Converts the output of `generate(...)` to formatted json.
  
      Args:
          data: The data structure outputted by `generate()`
  
      Floats are rounded to three decimals and positional vectors are printed on
      one line with some whitespace buffer.
      """
      return json_formatter.dumps(data)
function_tokens: def to_json ( data ) : return json_formatter . dumps ( data )