B4A Library [B4X] YAML parser

A simple parser, similar to the json parser, for YAML strings.

It is compatible with B4A and B4J.
It is based on: https://github.com/EsotericSoftware/yamlbeans (MIT license)

Put yaml.jar in the additional libraries folder and add a reference with:
B4X:
#AdditionalJar: yaml.jar

Note that booleans and dates will return as strings.
 

Attachments

  • YAML.zip
    14.5 KB · Views: 285
  • yaml.jar
    164 KB · Views: 267

Peter Simpson

Expert
Licensed User
Longtime User
Thank you @Erel,
A couple of years ago I looked into YAML and found the clean formatting interesting and easy on the eyes to look at. For those of you that are interested in YAML, I've added some links to the resources that I had previously used.

A tutorial write up

It's easier to watch the tutorial videos

Simple video



Slightly more advanced video


Enjoy...
 
Last edited:
Top