The Ouroboros King Modding Docs Help

Example Formats

The examples below show how to format data in YAML, JSON, and CSV. The examples are based on the same data structure under the "Example Data" section.

Example Data

Example Item

Name

Type

Description

word

string

An example string item.

num

int

An example number item.

value

float

An example float item.

flag

bool

An example boolean item.

list

array [string]

An example array item.

object

ExampleObject

An example object item.

dict

dictionary [int,string]

An example dictionary item.

Example Object

Name

Type

Description

sub

string

An example string item.

subnum

int

An example number item.

YAML

word: example num: 42 value: 3.14 flag: true list: - one - two - three object: sub: subexample subnum: 69 dict: 1: one 2: two 3: three

JSON

{ "word": "example", "num": 42, "value": 3.14, "flag": true, "list": ["one", "two", "three"], "object": { "sub": "subexample", "subnum": 69 }, "dict": { "1": "one", "2": "two", "3": "three" } }

CSV

word,num,value,flag,list,object.sub,object.subnum,dict.1,dict.2,dict.3 example,42,3.14,true,"one,two,three",subexample,69,one,two,three
Last modified: 14 december 2024