use JSON instead
This commit is contained in:
@@ -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
|
||||
"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user