I was trying to write a conversion routine where I have a large collection that
I converted to JSON and then tried to write the ToJSON blob to a document.
My code:
$json := a4d.json.new
$json->add("jobstage";$conv)
$blob := $json->toJSON
blob to document(join paths(get root; "public"; "stage1852.json");$blob)
writebr(ok)
No errors and ok is 1, but the file has 32001 characters. See anything?
2004, Mac OS X, Active4D 4.5r3
Steve Alex
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/