Re: [edk2-devel] [PATCH] RedfishPkg/RedfishCrtLib: handle floating point number in JSON

2024-01-14 Thread Nickle Wang via groups.io
Thanks Abner. I found an issue in this patch and resolved it in version 2 here: https://edk2.groups.io/g/devel/message/113780 Could you please help me to review it again? Regards, Nickle > -Original Message- > From: Chang, Abner > Sent: Saturday, January 13, 2024 10:19 PM > To: Nickle

Re: [edk2-devel] [PATCH] RedfishPkg/RedfishCrtLib: handle floating point number in JSON

2024-01-13 Thread Chang, Abner via groups.io
[AMD Official Use Only - General] Reviewed-by: Abner Chang > -Original Message- > From: Nickle Wang > Sent: Friday, January 12, 2024 6:42 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > ; Nick Ramirez > Subject: [PATCH] RedfishPkg/RedfishCrtLib: handle floating

[edk2-devel] [PATCH] RedfishPkg/RedfishCrtLib: handle floating point number in JSON

2024-01-12 Thread Nickle Wang via groups.io
When the value type is defined as number in Redfish schema, floating point number is allowed. RedfishCrtLib raises assert without handling this case now. Follow the way in EDK2 to call AsciiStrDecimalToUintnS and handle the floating point number. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: