scenjsonwrite

package
v1.4.87 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountsToOJ

func AccountsToOJ(accounts []*mj.Account) oj.OJsonObject

AccountsToOJ converts a scenarios-format account to an ordered JSON representation.

func LogToString

func LogToString(logEntry *mj.LogEntry) string

LogToString returns a json representation of a log entry, we use it for debugging

func ScenarioToJSONString

func ScenarioToJSONString(scenario *mj.Scenario) string

ScenarioToJSONString converts a scenario object to its JSON representation.

func ScenarioToOrderedJSON

func ScenarioToOrderedJSON(scenario *mj.Scenario) oj.OJsonObject

ScenarioToOrderedJSON converts a scenario object to an ordered JSON object.

func TestToJSONString

func TestToJSONString(testTopLevel []*mj.Test) string

TestToJSONString converts a test object to its JSON representation.

func TestToOrderedJSON

func TestToOrderedJSON(testTopLevel []*mj.Test) oj.OJsonObject

TestToOrderedJSON converts a test object to an ordered JSON object.

Types

This section is empty.

Jump to

Keyboard shortcuts

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