PHP Classes

File: tests/Objects/SimplePerson.php

Recommend this page to a friend!
  Classes of Julian Finkler  >  JSON Object Mapper  >  tests/Objects/SimplePerson.php  >  Download  
File: tests/Objects/SimplePerson.php
Role: Unit test script
Content type: text/plain
Description: Unit test script
Class: JSON Object Mapper
Create objects of classes mapped from JSON strings
Author: By
Last change:
Date: 4 years ago
Size: 514 bytes
 

Contents

Class file image Download
<?php

namespace MintWare\Tests\JOM\Objects;

use
MintWare\JOM\JsonField;

/**
 * Data holder for tests
 *
 * @package MintWare\Tests
 */
class SimplePerson
{
   
/** @JsonField */
   
public $firstname;

   
/** @JsonField */
   
public $surname;

   
/** @JsonField */
   
public $age;

   
/** @JsonField */
   
public $height;

   
/** @JsonField */
   
public $is_cool;

   
/** @JsonField */
   
public $nicknames;

   
/** @JsonField */
   
public $dictionary;

   
/** @JsonField */
   
public $address;
}

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