Software / code / prosody-modules
Comparison
mod_register_json/README.markdown @ 3292:42dac034b2e0
mod_register_json/README: Add syntax hint
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 29 Aug 2018 23:58:14 +0200 |
| parent | 3291:4c3230c22c18 |
comparison
equal
deleted
inserted
replaced
| 3291:4c3230c22c18 | 3292:42dac034b2e0 |
|---|---|
| 22 | 22 |
| 23 eyJ1c2VybmFtZSI6InVzZXJuYW1lb2ZjaG9pY2UiLCJwYXNzd29yZCI6InRoZXVzZXJwYXNzd29yZCIsImlwIjoidGhlcmVtb3RlYWRkcm9mdGhldXNlciIsIm1haWwiOiJ1c2VybWFpbEB1c2VybWFpbGRvbWFpbi50bGQiLCJhdXRoX3Rva2VuIjoieW91cmF1dGh0b2tlbm9mY2hvaWNlIn0= | 23 eyJ1c2VybmFtZSI6InVzZXJuYW1lb2ZjaG9pY2UiLCJwYXNzd29yZCI6InRoZXVzZXJwYXNzd29yZCIsImlwIjoidGhlcmVtb3RlYWRkcm9mdGhldXNlciIsIm1haWwiOiJ1c2VybWFpbEB1c2VybWFpbGRvbWFpbi50bGQiLCJhdXRoX3Rva2VuIjoieW91cmF1dGh0b2tlbm9mY2hvaWNlIn0= |
| 24 | 24 |
| 25 Where the encoded content is this (example) JSON Array: | 25 Where the encoded content is this (example) JSON Array: |
| 26 | 26 |
| 27 ``` | 27 ``` {.json} |
| 28 { | 28 { |
| 29 "username":"john.smith", | 29 "username":"john.smith", |
| 30 "password":"secret-password", | 30 "password":"secret-password", |
| 31 "ip":"192.168.0.0", | 31 "ip":"192.168.0.0", |
| 32 "mail":"john.smith@mail.example.net", | 32 "mail":"john.smith@mail.example.net", |