Subject: [RT] Updates to the provisioning model


Robert Munteanu wrote> Hi Carsten> > Thanks for the extensive write-up,
it took some time to digest :-)

:)

Right, strict JSON does not allow it, but we allow comments and the JSON
is preprocessed by a JSMin like processor. But after reading all
comments are gone, which I think is fine.

Yes, values get overwritten.

Good question, I guess like you normally do in JSON :)

Right, for configurations we use the specified format, so if you say

"propF" : 5.5

This should be fine. I don't know from the top of my head if this is a
float or a double. But you can also do

"propF:float" : 5.5

and then it will be converted into a float.
Even

"propF:float" : "5.5"

would do

It's internally using the OSGi converter for conversion.

So we're much safer with all these things.

Regards
Carsten
--
Carsten Ziegeler
Adobe Research Switzerland
[EMAIL PROTECTED]