[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [xacml] JSON mapping choices
David, From: xacml@lists.oasis-open.org [mailto:xacml@lists.oasis-open.org] On Behalf Of David Brossard Sent: Tuesday, June 12, 2012 1:26 PM To: Sinnema, Remon Cc: xacml@lists.oasis-open.org Subject: Re: [xacml] JSON mapping choices >> I don't think this is valid JSON. You should use arrays to wrap multiple objects: > That's a good point. Would the following be correct (added [ and ])? "Attributes": { "Category": "urn:oasis:names:tc:xacml:3.0:attribute-category:resource", "Attribute": [{ "Id": "document-id" "AttributeValue" : { "value" : ["123"] "DataType" : "http://www.w3.org/2001/XMLSchema#integer" } }] } You also need [] around the different "Attributes" elements, since they're also a list. See the example in my previous email. Thanks, Ray
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]