cheeaun / cheeaun/json-lipsum

callback doesn't accept functions nested in objects

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
http://json-lipsum.appspot.com/?callback=obj.fn

Using callback=obj.fn should return obj.fn({...})
But it ignores callback.

YUI has a jsonp module that will temporarily un-sandbox a function. Like this:
callback=YUI.Env.JSONP.yui_3_2_0_1_1286352293710625

```

Original issue reported on code.google.com by `david...@gmail.com` on 6 Oct 2010 at 8:26

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named in the issue. Start by reproducing the JSONP request with callback=obj.fn and compare it with the documented top-level callback behavior; also inspect the YUI-style nested callback example. Done means nested callback names invoke the returned JSON rather than being ignored.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.