jsonHelpers

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJSONEnumBase

func GetJSONEnumBase(e model.Enum) string

func GetJSONEnumDefault

func GetJSONEnumDefault(e model.Enum) string

func HasJSONEnumBase

func HasJSONEnumBase(e model.Enum) bool

func IsJSONEnum

func IsJSONEnum(e model.Enum) bool

func IsJSONEnumLiteral added in v1.1.0

func IsJSONEnumLiteral(e model.Enum) bool

func IsJSONEnumStripped

func IsJSONEnumStripped(e model.Enum) bool

func IsJSONEnumTolerant

func IsJSONEnumTolerant(e model.Enum) bool

func IsJSONStruct

func IsJSONStruct(s model.Struct) bool

func NewGenerator

func NewGenerator() generator.Generator

Types

type Generator

type Generator struct {
}

func (*Generator) Generate

func (eg *Generator) Generate(inputDir string, parsedSource model.ParsedSources) error

func (*Generator) GetAnnotations

func (eg *Generator) GetAnnotations() []annotation.AnnotationDescriptor

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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