godot-yaml 0.9.2

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

Report Abuse
SKU: GDAL254 Gotot version: 3.1 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.

Vendor Information

  • Store Name: Official Godot Asset Library
  • Vendor: Godot Asset Library
  • Address:
  • No ratings found yet!
Added to wishlistRemoved from wishlist 5
Add to compare
2D Hexagonal Map Demo

2D Hexagonal Map Demo

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 3
Add to compare
Scrolling Background

Scrolling Background

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 0
Add to compare
Audio Mic Record Demo

Audio Mic Record Demo

Sold by Official Godot Asset Library
Added to wishlistRemoved from wishlist 4
Add to compare
Godot Text Interface Engine (Godot v3.x)

Godot Text Interface Engine (Godot v3.x)

Sold by Official Godot Asset Library

Product Enquiry

Please Login to make enquiry about this product

10% OF REVENUE IS DONATED TO GODOT

Reset Password
Compare items
  • Total (0)
Compare