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

vJSON.Item is failing #8

Closed
manavilai opened this issue Jun 28, 2019 · 3 comments
Closed

vJSON.Item is failing #8

manavilai opened this issue Jun 28, 2019 · 3 comments

Comments

@manavilai
Copy link

i have a simple json file..
{"employee" : {"name" :"vivek"}}
i am trying to retrieve the employee from this json.
i do the below command
JSON.Parse sJSONString, vJSON, sState
and later do
sCont = vJSON("employee")

i get the below error. please help

image

@omegastripes
Copy link
Owner

Hi @manavilai Try
sCont = vJSON("employee")("name")
or
Set sCont = vJSON("employee")

@omegastripes
Copy link
Owner

Hi @manavilai Have you tried the code? Does it work for you?

@manavilai
Copy link
Author

hi @omegastripes ,

thank you so much it works for me

regards,
manavilai

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

No branches or pull requests

2 participants