Parameters2JSON

Documentation for Parameters2JSON.

Parameters2JSON.pretty_displayMethod
pretty_display(str::String, params)

Writes the @jsonable struct params to a string str and returns it.

Additional Information

  • Further prettifies a call to JSON3.pretty(::IO, params).
source
Parameters2JSON.pretty_displayMethod
pretty_display(::Type{String}, params)

Writes the @jsonable struct params to a string and returns it.

Additional Information

  • Further prettifies a call to JSON3.pretty(::IO, params).
source
Parameters2JSON.@jsonableMacro
@jsonable [mutable] struct Foo ... end

Convenience macro allowing JSON import, exports, and displays for structs.

Additional Information

One must have the StructTypes package Pkg.added in order to use any JSON functionality.

source