Decode a CMCD string to an object.
The CMCD string to decode.
Options for decoding.
The decoded CMCD object.
deepEqual(decodeCmcd('br=(1000),com.example-hello="world",ec=("ERR001" "ERR002"),su,v=2'), { br: [1000], 'com.example-hello': 'world', ec: ['ERR001', 'ERR002'], su: true, v: 2,}) Copy
deepEqual(decodeCmcd('br=(1000),com.example-hello="world",ec=("ERR001" "ERR002"),su,v=2'), { br: [1000], 'com.example-hello': 'world', ec: ['ERR001', 'ERR002'], su: true, v: 2,})
Optional
Decode a CMCD string to an object.