Skip to content

Use Json instead of Json file #28

Description

@Snowji-Yama

Hi,

I would like to use your plugin but I have a problem. In my app, I don't need to use a json file. Is it possible to send a json object directly in option instead of a file ?

I need :

data_url:
[ { name: 'Once Upon a Time in the West',
rating: '8.7',
director: 'Sergio Leone',
year: '1968',
actor: 'Henry Fonda' },
{ name: 'Terminator 2: Judgment Day',
rating: '8.6',
director: 'James Cameron',
year: '1991',
actor: 'Arnold Schwarzenegger' },
{ name: 'Braveheart',
rating: '8.4',
director: 'Mel Gibson',
year: '1995',
actor: 'Mel Gibson' },
{ name: 'Oldboy',
rating: '8.4',
director: 'Chan-wook Park',
year: '2003',
actor: 'Min-sik Choi' } ]

Instead of :
data_url: 'data/movies.json'

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions