parameters: (flatc, json, schema, out_dir)
docstring: Run the flatbuffer compiler on the given json file and schema.
  
    Args:
      flatc: Path to the flatc binary.
      json: The path to the json file to convert to a flatbuffer binary.
      schema: The path to the schema to use in the conversion process.
      out_dir: The directory to write the flatbuffer binary.
  
    Raises:
      BuildError: Process return code was nonzero.
docstring_summary: Run the flatbuffer compiler on the given json file and schema.
docstring_tokens: Run the flatbuffer compiler on the given json file and schema .
function: def convert_json_to_flatbuffer_binary(flatc, json, schema, out_dir):
    """Run the flatbuffer compiler on the given json file and schema.
  
    Args:
      flatc: Path to the flatc binary.
      json: The path to the json file to convert to a flatbuffer binary.
      schema: The path to the schema to use in the conversion process.
      out_dir: The directory to write the flatbuffer binary.
  
    Raises:
      BuildError: Process return code was nonzero.
    """
    command = [flatc, '-o', out_dir]
    for path in SCHEMA_PATHS:
      command.extend(['-I', path])
    command.extend(['-b', schema, json])
    run_subprocess(command)
function_tokens: def convert_json_to_flatbuffer_binary ( flatc , json , schema , out_dir ) : command = [ flatc , '-o' , out_dir ] for path in SCHEMA_PATHS : command . extend ( [ '-I' , path ] ) command . extend ( [ '-b' , schema , json ] ) run_subprocess ( command )