Control sub-TLV attributes order in rest module

Avner Elizarov avnerelizarov at gmail.com
Sun Sep 10 19:33:52 CEST 2017


But how can he handle several attributes with the same name in the json?
Doesn't it get converted to a map and then only the last instance gets
encoded?

On 10 Sep 2017 16:54, "Alan DeKok" <aland at deployingradius.com> wrote:

On Sep 10, 2017, at 9:26 AM, Avner Elizarov <avnerelizarov at gmail.com> wrote:
>
> The parents have the same name and as far as I can tell, nesting
attributes
> aren't implemented in the rest module.

>  Hmm... I think it was added in v4.

>  In v3, you should be able to just put the attributes in sequence.  The
server will take care of encoding them correctly:

>        child1a
>        child2a
>        child1b
>        child2b

  Alan DeKok.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/
list/users.html


More information about the Freeradius-Users mailing list