json2struct

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package json2struct contains code to convert JSON objects to Mangle structs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertValue

func ConvertValue(value any) (ast.Constant, error)

ConvertValue converts an encoding/json value into a Mangle value.

func JSONtoStruct

func JSONtoStruct(jsonBlob []byte) (ast.Constant, error)

JSONtoStruct converts a JSON blob to a Mangle struct.

Types

This section is empty.

Jump to

Keyboard shortcuts

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