poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master is broken due to latest changes to pk-mi-json


From: Mohammad-Reza Nabipoor
Subject: Re: master is broken due to latest changes to pk-mi-json
Date: Fri, 26 Nov 2021 19:41:04 +0330

On Fri, Nov 26, 2021 at 07:33:42PM +0330, Mohammad-Reza Nabipoor wrote:
> On Fri, Nov 26, 2021 at 04:41:57PM +0100, Jose E. Marchesi wrote:
> 
> ```
> static int
> pk_json_object_equal_p (struct json_object *j1, struct json_object *j2)
> {
>   return STREQ (json_object_to_json_string (j1),
>                 json_object_to_json_string (j2));
> }
> ```
>

Yes, this is WRONG!
There's no guarantee on the order of keys in an object.
Sorry for the noise!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]