Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[system/uri] Access value by JSON dot notation #135

Open
gnh1201 opened this issue Feb 1, 2021 · 0 comments
Open

[system/uri] Access value by JSON dot notation #135

gnh1201 opened this issue Feb 1, 2021 · 0 comments

Comments

@gnh1201
Copy link
Owner

gnh1201 commented Feb 1, 2021

[system/uri] Access value by JSON dot notation

for example:

/* data:    // 계층 데이터 검증
    monkey ->
      red ->
        apple ->
          delicious ->
            banana ->
              long ->
                train ->
                  sharp ->
                    niddle = "helloworld"
*/

$something = get_requested_value("monkey.red.apple.delicious.banana.long.train.sharp.niddle", array("_JSON"))
echo $something; // "helloworld"

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant