Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser

Quick Information

GD-CBOR
encode/decode implementation of Concise Binary Object Representation for Godot Engine 4.x / GDScript.
Supported Engine Version
4.4
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
29 days ago
Git URL
Issue URL
GD-CBOR
This is encode/decode implementation of Concise Binary Object Representation for GDScript.
How to Use
Parse
You can use this like a JSON.parse in GDScript.
func _ready( ):
var cbor: = GDCbor.new( )
if cbor.parse( FileAccess.get_file_as_bytes( "path/to/data.cbor" ) ) != OK:
print( cbor.error )
print( cbor.data )
Binarify
You can use this like a JSON.stringify in GDScript.
func _ready( ):
var cbor: = GDCbor.new( )
print( cbor.binarify( [1, -2, 3, 3.1415926535, "aaa", {"test": "value"}, null, true, false] ) )
License
MIT License
Author
あるる / きのもと 結衣 @arlez80
encode/decode implementation of Concise Binary Object Representation for Godot Engine 4.x / GDScript.
Reviews
Quick Information

GD-CBOR
encode/decode implementation of Concise Binary Object Representation for Godot Engine 4.x / GDScript.
Supported Engine Version
4.4
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
29 days ago
Git URL
Issue URL