json_file Interface

private interface json_file

Structure constructor to initialize a json_file object with an existing json_value object

Example

 ...
 type(json_file)  :: my_file
 type(json_value) :: json_object
 ...
 ! Construct a json_object
 my_file = json_file(json_object)

Calls

interface~~json_file~~CallsGraph interface~json_file json_file proc~initialize_json_file initialize_json_file interface~json_file->proc~initialize_json_file
Help

Module Procedures

private function initialize_json_file(p) result(file_object)

Arguments

Type IntentOptional AttributesName
type(json_value), intent(in), optional pointer:: p

json_value object to cast as a json_file object

Return Value type(json_file)

Description

Author
Izaak Beekman
Date
07/23/2015

Cast a json_value object as a json_file object