Commit 4c647930 authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Set printing of JSON encvalue to compact (bug 509146)



Change-Id: Ifa0de9a95195556a5368d786d552d78f1b4542ed
Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent 9a9fb39b
......@@ -4573,7 +4573,7 @@ namespace Common {
coding_str = "XER, XER_EXTENDED"; // TODO: fine tuning this parameter
break;
case CT_JSON:
coding_str = "JSON";
coding_str = "JSON, FALSE"; // with compact printing
break;
case CT_BER: {
coding_str = "BER, ";
......
......@@ -254,7 +254,7 @@ external function f_dec_seq(in octetstring x) return Seq
testcase tc_asn() runs on CT
{
var Seq x := { num := 10, str := "abc" };
var bitstring enc_exp := oct2bit(char2oct("{\n\t\"num\" : 10,\n\t\"str\" : \"abc\"\n}"));
var bitstring enc_exp := oct2bit(char2oct("{\"num\":10,\"str\":\"abc\"}"));
var Seq dec_exp := x;
var bitstring enc := encvalue(x);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment