Created
March 7, 2013 21:01
-
-
Save nfroidure/5111769 to your computer and use it in GitHub Desktop.
Rest input for love :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Json | |
{ | |
"truc":"bidule", | |
"truc2":"bidule2", | |
"truc3":"bidule3" | |
"tab": | |
[ | |
"machin", | |
"bidule", | |
"truc" | |
] | |
} | |
# xml | |
<vars> | |
<var name="truc" value="bidule" /> | |
<var name="truc2" value="bidule2" /> | |
<var name="truc3" value="bidule3" /> | |
<varlist name="tab"> | |
<var value="machin" /> | |
<var value="bidule" /> | |
<var value="truc" /> | |
</varlist> | |
</vars> | |
# form | |
truc=bidule&truc2=bidule2&truc3=bidule3&tab.0=machin&tab.1=bidule&tab.2=truc | |
# Varstream | |
truc=bidule | |
truc2=bidule2 | |
truc3=bidule3 | |
tab.+=machin | |
tab.+=bidule | |
tab.+=truc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment