Commit db8f61fb authored by Senthil Prabakaran's avatar Senthil Prabakaran Committed by Mouse

Change Sequence key to JSON

parent 8801ad0f
...@@ -51,7 +51,7 @@ asn_enc_rval_t SEQUENCE_encode_jer(const asn_TYPE_descriptor_t *td, const void * ...@@ -51,7 +51,7 @@ asn_enc_rval_t SEQUENCE_encode_jer(const asn_TYPE_descriptor_t *td, const void *
} }
if(!xcan) ASN__TEXT_INDENT(1, ilevel); if(!xcan) ASN__TEXT_INDENT(1, ilevel);
ASN__CALLBACK3("<", 1, mname, mlen, ">", 1); ASN__CALLBACK3("\"", 1, mname, mlen, "\": {", 4);
/* Print the member itself */ /* Print the member itself */
tmper = elm->type->op->jer_encoder(elm->type, memb_ptr, ilevel + 1, tmper = elm->type->op->jer_encoder(elm->type, memb_ptr, ilevel + 1,
...@@ -63,7 +63,7 @@ asn_enc_rval_t SEQUENCE_encode_jer(const asn_TYPE_descriptor_t *td, const void * ...@@ -63,7 +63,7 @@ asn_enc_rval_t SEQUENCE_encode_jer(const asn_TYPE_descriptor_t *td, const void *
if(tmper.encoded == -1) return tmper; if(tmper.encoded == -1) return tmper;
er.encoded += tmper.encoded; er.encoded += tmper.encoded;
ASN__CALLBACK3("</", 2, mname, mlen, ">", 1); ASN__CALLBACK("}", 1);
} }
if(!xcan) ASN__TEXT_INDENT(1, ilevel - 1); if(!xcan) ASN__TEXT_INDENT(1, ilevel - 1);
......
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