[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [xacml] JSON mapping choices
David,Sent: Tuesday, June 12, 2012 1:26 PM
From: xacml@lists.oasis-open.org [mailto:xacml@lists.oasis-open.org] On Behalf Of David Brossard
To: Sinnema, Remon
>> I don't think this is valid JSON. You should use arrays to wrap multiple objects:You also need [] around the different "Attributes" elements, since they're also a list. See the example in my previous email.
> 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"
}
}]
}
Thanks,
Ray
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]