Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

sjyoooon

2
Posts
1
Topics
A member registered Sep 28, 2019

Recent community posts

Thank you for rapid reply.  Second one is exactly what I wanted!

What are differences between ds_map and tj_object?

Is it okay to replace all my maps to tj_object?

Hi

I tried encode ds_map to json string like follow:


var map = ds_map_create();

ds_map_add(map, "a", 10);

ds_map_add(map, "b", "50");

var json_string = tj_encode(map);

show_debug_message( "result: "+ json_string ); 


and the result was :

 result: 414

How can I fix this?

And  what does ?indent mean?