Power-Fx icon indicating copy to clipboard operation
Power-Fx copied to clipboard

The JSON function cannot serialize objects of type 'UntypedObject'

Open Robulane opened this issue 1 year ago • 2 comments

There is no reason why we would not support this use case. Let's support it.

Robulane avatar Feb 21 '24 10:02 Robulane

I agree - we should do this. We should be able to implement this on the existing IUntypedObject interface (without any breaking changes or extra requirements on the interface).

Note that JSON (ParseJson()) does not necessarily round trip.

MikeStall avatar Feb 22 '24 08:02 MikeStall

Hello! I am currently attempting to go from Table to Text without success with Power-Fx in Copilot.

JSON(Topic.result,JSONFormat.IgnoreBinaryData & JSONFormat.IgnoreUnsupportedTypes)

Receiving this error: The JSON function cannot serialize objects of type 'Table'.

Appreciate any update!

newmanjt avatar Jul 31 '24 13:07 newmanjt