Parse Json in C#

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ComLarsic

I am trying to get C# to parse a json file but i am getting stuck at the opening step.

when i try to open a file like i would in gdscript ( , File.READ)) i get the error:

File does not contain definition for READ

does anyone know whats wrong?

:bust_in_silhouette: Reply From: Yaann

That’s because the definition is even more nested for some reason: file.Open(JsonPath,File.ModeFlags.Read);