Skip to content

sciter-sdk/json-value-visualizer

Repository files navigation

terrainformatica sciter::value (formerly known as json::value)

Supported the following sciter::value types:

  • undefined
  • null
  • bool
  • int
  • double
  • currency, date - displayed just as int
  • color - displayed as hexadecimal int
  • duration, angle
  • string (including #symbols)
  • bytes (as byte array)
  • array
  • map — requires a json_value_pair type placed in binary

Not supported (yet):

  • length (int or float union?)
  • function
  • object
  • dom_object

Note: map visualizer requires the following type knowledge:

typedef std::pair<sciter::value, sciter::value> json_value_pair;

extern json_value_pair __visualize_json_value_pair = {};

Last line to ensure that compiler will not remove it from binary.

Notes:

VS 2012 and higher: download VSIX from releases page.

VS 2010: read how to enable autoexp.dat.

VS 2005-2008: use autoexp.dat.

Requires:

Sciter 3.1 or higher. For lower versions use htmlayout branch.

Screenshot:

Debug screenshot