Abner Chang 
							
						 
					 
					
						
						
							
						
						9971b99461 
					 
					
						
						
							
							RedfishPkg/JsonLib: Add JSON delete object function  
						
						 
						
						... 
						
						
						
						To support the deletion on a specified JSON object.
Signed-off-by: Abner Chang <abner.chang@amd.com >
Cc: Nickle Wang <nicklew@nvidia.com >
Cc: Igor Kulchytskyy <igork@ami.com >
Reviewed-by: Nickle Wang <nicklew@nvidia.com > 
						
						
					 
					
						2024-01-16 09:13:03 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nickle Wang 
							
						 
					 
					
						
						
							
						
						f67e1934d9 
					 
					
						
						
							
							RedfishPkg/JsonLib: fix JsonObjectGetValue issue  
						
						 
						
						... 
						
						
						
						JsonObjectGetValue() cannot find corresponding JSON value
when the EDKII_JSON_VALUE object is created by another UEFI
driver. This is because "hashtable_seed" is initialized by
current time while JsonLib is loaded. So, "hashtable_seed"
will be different in each individual UEFI driver.
Signed-off-by: Nickle Wang <nicklew@nvidia.com >
Cc: Abner Chang <abner.chang@amd.com >
Cc: Igor Kulchytskyy <igork@ami.com >
Cc: Nick Ramirez <nramirez@nvidia.com >
Reviewed-by: Igor Kulchytskyy <igork@ami.com >
Reviewed-by: Abner Chang <abner.chang@amd.com > 
						
						
					 
					
						2023-09-22 03:59:03 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nickle Wang 
							
						 
					 
					
						
						
							
						
						60475162a6 
					 
					
						
						
							
							RedfishPkg/JsonLib: add object clear interface  
						
						 
						
						... 
						
						
						
						-Add JsonObjectClear() interface for application to clear
all elements in JSON object.
-Fix typo.
Signed-off-by: Nickle Wang <nicklew@nvidia.com >
Cc: Abner Chang <abner.chang@amd.com >
Cc: Igor Kulchytskyy <igork@ami.com >
Cc: Nick Ramirez <nramirez@nvidia.com >
Reviewed-by: Abner Chang <abner.chang@amd.com > 
						
						
					 
					
						2023-07-06 13:25:15 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nickle Wang 
							
						 
					 
					
						
						
							
						
						c2abf77116 
					 
					
						
						
							
							RedfishPkg/JsonLib: address coverity issue  
						
						 
						
						... 
						
						
						
						Fix implicit conversion issue in JsonLib.
Signed-off-by: Nickle Wang <nicklew@nvidia.com >
Cc: Abner Chang <abner.chang@amd.com >
Cc: Igor Kulchytskyy <igork@ami.com >
Cc: Nick Ramirez <nramirez@nvidia.com >
Reviewed-by: Abner Chang <abner.chang@amd.com > 
						
						
					 
					
						2023-03-29 09:22:35 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nickle Wang 
							
						 
					 
					
						
						
							
						
						238f5f9544 
					 
					
						
						
							
							RedfishPkg/JsonLib: Fix JsonLib build failure  
						
						 
						
						... 
						
						
						
						VS2019 reports build failure: "warning C4701: potentially uninitialized
local variable 'Ucs2Str' used". Initial Ucs2Str to NULL at the beginning
of function.
Cc: Abner Chang <abner.chang@amd.com >
Cc: Nick Ramirez <nramirez@nvidia.com >
Signed-off-by: Nickle Wang <nicklew@nvidia.com >
Reviewed-by: Abner Chang <abner.chang@amd.com > 
						
						
					 
					
						2022-09-23 01:22:23 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Michael Kubacki 
							
						 
					 
					
						
						
							
						
						39de741e2d 
					 
					
						
						
							
							RedfishPkg: Apply uncrustify changes  
						
						 
						
						... 
						
						
						
						REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 
Apply uncrustify changes to .c/.h files in the RedfishPkg package
Cc: Andrew Fish <afish@apple.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Abner Chang <abner.chang@hpe.com > 
						
						
					 
					
						2021-12-07 17:24:28 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Abner Chang 
							
						 
					 
					
						
						
							
						
						a7ddc7847c 
					 
					
						
						
							
							RedfishPkg/JsonLib: Add more JsonLib functions  
						
						 
						
						... 
						
						
						
						Signed-off-by: Abner Chang <abner.chang@hpe.com >
Cc: Nickle Wang <nickle.wang@hpe.com >
Reviewed-by: Nickle Wang <nickle.wang@hpe.com > 
						
						
					 
					
						2021-08-10 09:59:05 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Abner Chang 
							
						 
					 
					
						
						
							
						
						bd158441d6 
					 
					
						
						
							
							RedfishPkg/JsonLib: Fix the mistake of removing code by a accident  
						
						 
						
						... 
						
						
						
						json_string_value() in JsonValueGetAsciiString () is removed by a accident
when clean up the code.
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Nickle Wang <nickle.wang@hpe.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
Reviewed-by: Nickle Wang <nickle.wang@hpe.com > 
						
						
					 
					
						2021-02-24 08:57:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Abner Chang 
							
						 
					 
					
						
						
							
						
						5d7b5cd105 
					 
					
						
						
							
							RedfishPkg/JsonLib: Add JsonLoadString function  
						
						 
						
						... 
						
						
						
						Add JsonLoadString function to load a NULL terminated-string JSON
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Nickle Wang <nickle.wang@hpe.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Nickle Wang <nickle.wang@hpe.com > 
						
						
					 
					
						2021-02-24 08:27:09 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Abner Chang 
							
						 
					 
					
						
						
							
						
						ea830b96fd 
					 
					
						
						
							
							RedfishPkg/library: EDK2 port of jansson library  
						
						 
						
						... 
						
						
						
						edk2 JsonLib which is the edk2 port of open source
jansson library.
(https://github.com/akheron/jansson )
jansson library is the open source project to manipulate
JSON data structure.
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Nickle Wang <nickle.wang@hpe.com >
Cc: Peter O'Hanley <peter.ohanley@hpe.com >
Reviewed-by: Nickle Wang <nickle.wang@hpe.com >
Acked-by: Leif Lindholm <leif@nuviainc.com >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com > 
						
						
					 
					
						2021-01-09 03:08:51 +00:00