Loading…
None
New source string testing_project / Documentation: reference/reference_lua/yaml — English |
Glossary
| English | English | ||
|---|---|---|---|
| No related strings found in the glossary. | |||
Loading…
None
New source string testing_project / Documentation: reference/reference_lua/yaml — English |
| English | English | ||
|---|---|---|---|
| No related strings found in the glossary. | |||
---
- '["A","B"]'
...
tarantool> yaml.encode(setmetatable({'A', 'B'}, { __serialize="map"}))
---
- '{"1":"A","2":"B"}'
...
tarantool> yaml.encode({setmetatable({f1 = 'A', f2 = 'B'}, { __serialize="map"})})
---
- '[{"f2":"B","f1":"A"}]'
...
tarantool> yaml.encode({setmetatable({f1 = 'A', f2 = 'B'}, { __serialize="seq"})})
---
- '[[]]'
...