Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Dune_release.JsonSourcefrom_string s parses s and builds a Yojson.Basic.t type accordingly, or returns the associated error message if the input is not a valid JSON value.
val string_field :
field:string ->
Yojson.Basic.t ->
(string, Bos_setup.R.msg) Bos_setup.resultstring_field ~field j returns the value of field field from the JSON value j if it is a string, or returns the associated error message otherwise.
int_field ~field j returns the value of field field from the JSON value j if it is an integer, or returns the associated error message otherwise.