scenjsonwrite

package
v1.4.4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: GPL-3.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountsToOJ

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

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

func LogToString

func LogToString(logEntry *scenmodel.LogEntry) string

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

func ScenarioToJSONString

func ScenarioToJSONString(scenario *scenmodel.Scenario) string

ScenarioToJSONString converts a scenario object to its JSON representation.

func ScenarioToOrderedJSON

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

ScenarioToOrderedJSON converts a scenario 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