use JSON instead

This commit is contained in:
2026-06-21 08:51:39 +07:00
parent b5a00bc694
commit 99b2fda461
11 changed files with 254 additions and 226 deletions

View File

@@ -46,7 +46,7 @@ thoughtDict = OrderedDict(
:Observation_6=> "I don't like it. Do you have another option?",
)
_thoughtJsonStr = JSON3.write(thoughtDict)
_thoughtJsonStr = JSON.json(thoughtDict)
thoughtJsonStr = _thoughtJsonStr[1:end-1] # remove } at the end
# @show thoughtJsonStr
@@ -100,7 +100,7 @@ Here are some examples:
Let's begin!
$(JSON3.write(thoughtDict))
$(JSON.json(thoughtDict))
{Thought_$nextThoughtIndice
"""