Jsign uses OpenSSL to sign JSON serialisations. The signed objects are valid JSON objects themselves.
Alex Young
无