hcijsontest

This command verifies the JSON message according to the specified JSON format and prints the JSON message in the data file.

hcijsontest [-a] [-d n] [-e encoding] [-f format] 
[-w searchExp] -p package schema data file
  • -a processes all data in the file.
  • -d n shows data at detail level n.
  • -e encoding encodes from encoding to UTF-8.
  • -f format specifies the file format:
    • -f len10 specifies 10-byte length encoded.
    • -f nl specifies newline-terminated.
    • -f eof specifies end-of-file terminated. This is the default.
  • -w searchExp indicates only the lines of output that match the search expression are printed. The search is case-sensitive.
  • -p package is the directory containing the JSON definition file.
  • schema schema file name of message definition.
  • data file is the data file to test with.