I was able to use BridgeJavaScript lib in my C++ app and produce the 2 json files like this:
-rw-r–r-- 1 phongtd phongtd 504 Thg 1 16 09:52 t.json
-rw-r–r-- 1 phongtd phongtd 16777216 Thg 1 16 09:52 t.json.data
However on Javascript file, I wonder how itk js can read those json files and parse them into the Image Type ?