Documentation ¶
Index ¶
- func AccountsToOJ(accounts []*mj.Account) oj.OJsonObject
- func LogToString(logEntry *mj.LogEntry) string
- func ScenarioToJSONString(scenario *mj.Scenario) string
- func ScenarioToOrderedJSON(scenario *mj.Scenario) oj.OJsonObject
- func TestToJSONString(testTopLevel []*mj.Test) string
- func TestToOrderedJSON(testTopLevel []*mj.Test) oj.OJsonObject
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 ¶
LogToString returns a json representation of a log entry, we use it for debugging
func ScenarioToJSONString ¶
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.