Closed nyckmaia closed 4 years ago
I found my mistake...
I need to declare a new variable:
type(json_core) :: core
Now, I can read the pointer data and get the values using:
call core%print(jsonObject)
call core%get(jsonObject, "age", age)
if ( .not. found ) stop 1
Hi, I'm a C/C++ programmer and a newer developer in Fortran language....
I would like to develop a Fortran subroutine that return a JSON object located inside a JSON array. Example:
What I already tried:
So, I'm trying to call this subroutine like this:
My
Error (1)
is:My
Error (2)
is:Could you please help me to fix this compile time errors above?
My System: