package smtml

  1. Overview
  2. Docs
On This Page
  1. JSON Parsing
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Parse.JsonSource

JSON Parsing

Sourceval from_string : string -> (t, [> `Msg of string ]) Smtml_prelude.Result.t

from_string s parses a symbol table from a JSON string.

Sourceval from_channel : Smtml_prelude.in_channel -> (t, [> `Msg of string ]) Smtml_prelude.Result.t

from_channel ic parses a symbol table from a JSON input channel.

Sourceval from_file : Fpath.t -> (t, [> `Msg of string ]) Smtml_prelude.Result.t

from_file path parses a symbol table from a JSON file.

OCaml

Innovation. Community. Security.