Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Encode ¶
Encode converts a CUE AST to unescaped JSON.
The given file must only contain values that can be directly supported by JSON:
Type Restrictions BasicLit File no imports, aliases, or definitions StructLit no embeddings, aliases, or definitions List Field must be regular; label must be a BasicLit or Ident
Comments and attributes are ignored.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.