On Tue, Jun 24, 2025 at 3:54 PM Ilya Maximets <[email protected]> wrote:
>
> Internal implementation of JSON array will be changed in the future
> commits.  Add access functions that users can rely on instead of
> accessing the internals of 'struct json' directly and convert all the
> users.  Structure fields are intentionally renamed to make sure that
> no code is using the old fields directly.
>
> json_array() function is removed, as not needed anymore.  Added new
> functions:  json_array_size(), json_array_at(), json_array_set()
> and json_array_pop().  These are enough to cover all the use cases
> within OVS.
>
> The change is fairly large, however, IMO, it's a much overdue cleanup
> that we need even without changing the underlying implementation.
>
> Signed-off-by: Ilya Maximets <[email protected]>
> ---

Acked-by: Mike Pattrick <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to