File: SKien/Test/Config/testdata/TestConfig.json

Recommend this page to a friend!
  Classes of Stefan Kientzler  >  PHP Config Class  >  SKien/Test/Config/testdata/TestConfig.json  >  Download  
File: SKien/Test/Config/testdata/TestConfig.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Config Class
Read configuration from JSON, INI, XML and arrays
Author: By
Last change:
Date: 2 months ago
Size: 972 bytes
 

Contents

Class file image Download
{
	"BaseString_1": "Base String Parameter",
	"Module_1": {
		"String_1": "First string Parameter",
		"String_2": "Second string Parameter",
		"Int_1": 10,
		"Int_2": 20,
		"Float_1": 12.34,
		"Date_1": "2021-01-12",
		"Date_2": 1613775600,
		"Date_3": "14.03.2012",
		"Date_Invalid": "2021-0112",
		"DateTime_1": "2021-01-12 13:47",
		"DateTime_2": "1613796813",
		"DateTime_3": "14.03.2012  13:47",
		"DateTime_Invalid": "2021-0112 345"
	},
	"Module_2": {
		"True_1": true,
		"True_2": "TRUE",
		"True_3": "on",
		"True_4": "On",
		"True_5": "yes",
		"True_6": "Yes",
		"True_7": 1,
		"True_8": "1",
		"False_1": false,
		"False_2": "False",
		"False_3": "off",
		"False_4": "OFF",
		"False_5": "no",
		"False_6": "No",
		"False_7": "none",
		"False_8": "0",
		"Bool_Invalid": "invalid"
	},
	"IndexedArray": [
		"First Element", 
		"Second Element", 
		"Third Element"
	],
	"AssocArray": {
		"First" : "Element 1", 
		"Second" : "Element 2", 
		"Third" : "Element 3"
	}
}

For more information send a message to info at phpclasses dot org.