lyaml icon indicating copy to clipboard operation
lyaml copied to clipboard

API: `encode/decode` vs `dump/load`

Open hinell opened this issue 1 year ago • 1 comments

Hi.

I propose to stick to a more common names for encoding/decoding of API:

...
local        luatable = { ... }
local        lyaml.encode(luatable)
yamlString = lyaml.decode(...)

The naming is currently not obvious. Thanks!

hinell avatar May 15 '23 06:05 hinell