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

Need to add 2 question which is important in JSON file #6314

Open
harshalhonde21 opened this issue Oct 10, 2023 · 4 comments
Open

Need to add 2 question which is important in JSON file #6314

harshalhonde21 opened this issue Oct 10, 2023 · 4 comments
Assignees
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@harshalhonde21
Copy link
Contributor

I'm submitting an ISSUE: please check

Q1. What is the purpose of JSON-P (JSON with padding) in web development, and how is it typically used?

A. To validate JSON data before parsing it in JavaScript.
B. To provide additional padding for JSON objects to improve readability.
C. To overcome the same-origin policy limitation when making cross-domain AJAX requests.
D. To compress JSON data for faster transmission over the network.

Q2. In a JSON document, how can you represent a key that contains special characters, such as spaces or hyphens, to ensure proper parsing and access in JavaScript?

A. Wrap the key in single quotes.
B. Enclose the key in square brackets.
C. Use backslashes before special characters.
D. Enclose the key in double quotes.

It is good question and basically ask me in my interview of intership.

@harshalhonde21
Copy link
Contributor Author

assign this issue to me

@haxkd
Copy link
Contributor

haxkd commented Oct 11, 2023

@harshalhonde21 just make the changes and pull request

@harshalhonde21
Copy link
Contributor Author

@haxkd added questions you can review and merge it

@Ebazhanov Ebazhanov added help wanted Extra attention is needed good first issue Good for newcomers labels Oct 15, 2023
@HimanshuMahto
Copy link
Contributor

Hey @Ebazhanov could you please assign me this issue to work on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants