Contents

writeJSON(to:options:)

Creates a JSON file with the contents of the data frame.

Declaration

func writeJSON(to url: URL, options: JSONWritingOptions = .init()) throws

Parameters

  • url:

    A location URL in the file system where the method saves the JSON file.

  • options:

    A Jsonwritingoptions instance.