package tezos-stdlib-unix

  1. Overview
  2. Docs
val read_file : string -> Data_encoding.json Tezos_error_monad.Error_monad.tzresult Lwt.t

Loads a JSON file in memory

val write_file : string -> Data_encoding.json -> unit Tezos_error_monad.Error_monad.tzresult Lwt.t

(Over)write a JSON file from in memory data

OCaml

Innovation. Community. Security.