godot-yaml

Add to wishlistAdded to wishlistRemoved from wishlist 0
Add to compare
@ Godot Asset Library

Adds the ability to print and parse variables to and from yaml.

Submitted by user Beliar;
MIT;
2019-09-15

Free!

SKU: GDAL254 Categories: , ,

Adds the ability to print and parse variables to and from yaml.

Usage:

Since this is a godot native plugin, you first need to (pre)load it like this:

“`
yaml = preload(“res://addons/godot-yaml/gdyaml.gdns”).new()
“`

After this the basic usage is like for JSON:

To convert a value to a yaml string you need to use the print method, like this:

“`
var yamlstring = yaml.print(1.0)
“`

The parse method takes a yaml formatted string and tries to convert it into a godot variable

“`
var value = yaml.parse(yamlstring)
“`

If it cannot convert the string it will give an error message with information why it could not convert something and the position inside the string where it failed.

Specification: godot-yaml

Version

User Reviews

0.0 out of 5
0
0
0
0
0
Write a review

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Added to wishlistRemoved from wishlist 0
Add to compare
Recorder

Recorder

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 0
Add to compare
PBR Material CorrugatedSteel04

PBR Material CorrugatedSteel04

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 11
Add to compare
First Person Controller

First Person Controller

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 6
Add to compare
3D GridMap and non GridMap Navmesh Demos

3D GridMap and non GridMap Navmesh Demos

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 0
Add to compare
PBR Material Concrete16

PBR Material Concrete16

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 1
Add to compare
PBR Material Concrete21

PBR Material Concrete21

Sold by Official Godot Asset Library

10% OF REVENUE IS DONATED TO GODOT

Godot Assets Marketplace
Logo
Compare items
  • Total (0)
Compare
Shopping cart