This is the reverse of metadata2json(), and is used by ncdf2oce() and related functions. See metadata2json() for some conversions that are done by that function and then reversed here.

json2metadata(j)

Arguments

j

character value, typically the output from metadata2json().

Value

json2metadata returns a list in the format of a metadata

slot from an oce object.

See also

Other things relating to serialization: metadata2json()

Author

Dan Kelley