gjson icon indicating copy to clipboard operation
gjson copied to clipboard

Convert Interface to Gjson.Result

Open sahil0604 opened this issue 2 years ago • 1 comments

How to convert interface{} to gjson.Result

sahil0604 avatar Apr 21 '22 04:04 sahil0604

It should be possible to do this by combining GJSON with SJSON. Put the interface{} into a temporary JSON object or key with SJSON, then get it with GJSON.

jshlbrd avatar May 23 '22 01:05 jshlbrd