diff --git a/README.md b/README.md index ecd52f6..e33cfc4 100644 --- a/README.md +++ b/README.md @@ -51,13 +51,13 @@ var json = ASN1.parse(der); console.log(json); ``` -```json +```js { "type": 48 /*0x30*/, "lengthSize": 0, "length": 89 , "children": [ { "type": 48 /*0x30*/, "lengthSize": 0, "length": 19 , "children": [ - { "type": 6, "lengthSize": 0, "length": 7, "value": <0x2a8648ce3d0201> }, - { "type": 6, "lengthSize": 0, "length": 8, "value": <0x2a8648ce3d030107> } + { "type": 6, "lengthSize": 0, "length": 7, "value": "<0x2a8648ce3d0201>" }, + { "type": 6, "lengthSize": 0, "length": 8, "value": "<0x2a8648ce3d030107>" } ] }, { "type": 3, "lengthSize": 0, "length": 66, diff --git a/package.json b/package.json index 3f2169e..7d5183d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "asn1-parser", - "version": "1.0.1", + "version": "1.0.2", "description": "An ASN.1 parser in less than 100 lines of Vanilla JavaScript, part of the Bluecrypt suite.", "homepage": "https://git.coolaj86.com/coolaj86/asn1-parser.js", "main": "asn1-parser.js",