I mean Paul, he’s got it backwards anyway. Yoichi showed deserializing a string to a JObject (jo) and then how to serialize the JObject.
There is a fundamental misunderstanding here by Hazem where he thinks he can/should serialize a string. Thats not logical. Yoichis code for example demonstrates serializing and deserializing but you end up back where you start.
I think we need to clarify the misunderstanding before any meaningful process can continue.
As I have been urging.
I think you need to stop for a minute and learn some fundamentals about what ‘Serializing’ and ‘Deserializing’ is and help explain to us what you are actually trying to achieve cause ‘Serializing a string’ makes no sense.
I’d like to also share an opinion. Avoid Invoke Code like the plague, its hard to debug. You very very rarely need to use it. I think I used it once due to a bug in the compiler.
Is that the main goal, you just want to duplicate some C# functionality for learning purposes? I’d definitely not use Invoke Code in that case as that surely defeats the point.
As I’ve stated before, getting to understand that you don’t serialize a string is the first step.
Thanks alot its seems my problem i quite dont understand where to find the right type
if i use assign myDict its going to be Dictionary but cant find the type under browse for all type !
same for the second one Newtonsoft.Json.Linq.JObject.FromObject(myDict);