parseJSONFile

Loads a file as JSON text and validates the used parts. This includes a UTF-8 validation on strings.

  1. auto parseJSONFile(char[] fname)
  2. auto parseJSONFile(Filename fname)
    parseJSONFile
    (
    uint vl = validateUsed
    )
    (
    in Filename fname
    )

Parameters

fname Filename

The file name to load.

Return Value

Type: auto

A JSON file object exposing the Json API.

Meta