json

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2019 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Overview

Package json implements JSON generation for VDL const values.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Const

func Const(v *vdl.Value, pkgPath string, imports codegen.Imports) string

Const returns a JSON representation of a value.

TODO(razvanm): use this function to replace most (all?) of the untypedConst function from v.io/x/ref/lib/vdl/codegen/javascript.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL