File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ module json_file_module
5757 ! end program test
5858 ! ```
5959 !
60- ! @note The `destroy()` method may be called to free the memory, but
60+ ! @note The `destroy()` method may be called to free the memory if necessary.
6161 ! [[json_file(type)]] includes a finalizer that also calls
6262 ! `destroy()` when the variable goes out of scope.
6363
@@ -867,7 +867,7 @@ subroutine json_file_load_from_string(me, str)
867867 class(json_file),intent (inout ) :: me
868868 character (kind= CK,len=* ),intent (in ) :: str ! ! string to load JSON data from
869869
870- call me% core% load(str = str, p = me% p)
870+ call me% core% serialize( me% p, str )
871871
872872 end subroutine json_file_load_from_string
873873! *****************************************************************************************
You can’t perform that action at this time.
0 commit comments