@@ -246,10 +246,10 @@ module json_file_module
246
246
247
247
generic,public :: assignment (= ) = > assign_json_file,&
248
248
assign_json_file_to_string,&
249
- assign_string_to_json_file
249
+ MAYBEWRAP( assign_string_to_json_file)
250
250
procedure :: assign_json_file
251
251
procedure ,pass(me) :: assign_json_file_to_string
252
- procedure :: assign_string_to_json_file
252
+ procedure :: MAYBEWRAP( assign_string_to_json_file)
253
253
254
254
! ***************************************************
255
255
! private routines
@@ -1206,6 +1206,23 @@ subroutine assign_string_to_json_file(me,str)
1206
1206
end subroutine assign_string_to_json_file
1207
1207
! *****************************************************************************************
1208
1208
1209
+ ! *****************************************************************************************
1210
+ ! > author: Jacob Williams
1211
+ !
1212
+ ! Alternate version of [[assign_string_to_json_file]], where "str" is kind=CDK.
1213
+
1214
+ subroutine wrap_assign_string_to_json_file (me ,str )
1215
+
1216
+ implicit none
1217
+
1218
+ class(json_file),intent (inout ) :: me
1219
+ character (kind= CDK,len=* ),intent (in ) :: str
1220
+
1221
+ call me% assign_string_to_json_file(to_unicode(str))
1222
+
1223
+ end subroutine wrap_assign_string_to_json_file
1224
+ ! *****************************************************************************************
1225
+
1209
1226
! *****************************************************************************************
1210
1227
! > author: Jacob Williams
1211
1228
!
0 commit comments