pluie-yaml/resources/tag.yml

46 lines
1.2 KiB
YAML
Raw Normal View History

2018-08-09 01:42:36 +00:00
%YAML 1.2
2018-08-10 01:53:04 +00:00
%TAG !v! tag:pluie.org,2018:vala/
2018-08-09 01:42:36 +00:00
---
2018-08-10 01:53:04 +00:00
!v!Pluie.Yaml.Example test1 :
2018-08-11 00:28:19 +00:00
myname : test1object
2018-08-10 01:53:04 +00:00
type_int : !v!int 3306
type_bool : !v!bool false
type_char : !v!char c
type_string : !v!string mystring1
type_uchar : !v!uchar L
type_uint : !v!uint 62005
type_float : !v!float 42.36
type_double : !v!double 95542123.4579512128
2018-08-18 21:54:18 +00:00
type_enum : !v!Pluie.Yaml.NODE_TYPE scalar # or int
!v!Pluie.Yaml.ExampleChild type_object :
2018-08-11 00:28:19 +00:00
toto : totovalue1
tata : tatavalue1
titi : 123
tutu : 1
2018-08-18 21:54:18 +00:00
!v!Pluie.Yaml.ExampleStruct type_struct :
red : !v!uint8 214
green : !v!uint8 78
blue : 153
!v!Gee.ArrayList type_gee_al :
2018-08-20 16:45:50 +00:00
- 1.2
- 2.2
- 3.2
- 4.2
2018-08-09 01:42:36 +00:00
2018-08-10 01:53:04 +00:00
!v!Pluie.Yaml.Example test2 :
2018-08-11 00:28:19 +00:00
myname : test2object
type_int : 3306
type_bool : "true"
type_char : g
type_string : mystring2
type_uchar : Y
type_uint : 63005
type_float : 5.28
type_double : 9.28
type_enum : PLUIE_YAML_NODE_TYPE_SCALAR
!v!Pluie.Yaml.ExampleChild type_object :
2018-08-11 00:28:19 +00:00
toto : totovalue2
tata : tatavalue2
titi : !v!int 456
tutu : !v!bool TRUE