json

package
v0.1.0-dev.20260301234141 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package json provides JSON encoding and decoding for the operation graph.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider provides JSON encoding and decoding operations.

+devlore:access=immediate

func (*Provider) Decode

func (p *Provider) Decode(data string) (any, error)

Decode parses a JSON string into a Go value.

func (*Provider) Encode

func (p *Provider) Encode(value any) (string, error)

Encode marshals a Go value to a compact JSON string.

func (*Provider) EncodeIndent

func (p *Provider) EncodeIndent(value any, indent string) (string, error)

EncodeIndent marshals a Go value to an indented JSON string.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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