rfc:jsonserializable
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:jsonserializable [2015/07/13 12:59] – created decanus | rfc:jsonserializable [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PHP RFC: JsonSerializable New Interface method | + | ====== PHP RFC: JsonSerializable New Interface method |
* Version: 0.9 | * Version: 0.9 | ||
- | * Date: 2013-02-24 (use today' | + | * Date: 2015-07-13 |
* Author: Dean Eigenmann, dean.eigenmann@icloud.com | * Author: Dean Eigenmann, dean.eigenmann@icloud.com | ||
* Status: Under Discussion | * Status: Under Discussion | ||
Line 23: | Line 23: | ||
</ | </ | ||
- | Within the class User there would then be function that recieves | + | Within the class User there would then be function that receives |
<code php> | <code php> | ||
Line 35: | Line 35: | ||
Unlike the ArrayObject, | Unlike the ArrayObject, | ||
+ | |||
+ | ===== Updated Proposal ===== | ||
+ | |||
+ | Due to discussions, | ||
+ | |||
+ | <code php> | ||
+ | |||
+ | $user = json_decode_to_class($json, | ||
+ | |||
+ | </ | ||
+ | |||
+ | ===== Vote ====== | ||
+ | <doodle title=" | ||
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
+ | |||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
next PHP 7.x | next PHP 7.x |
rfc/jsonserializable.1436792367.txt.gz · Last modified: 2017/09/22 13:28 (external edit)