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

Consider support JSON from the filesystem #13

Open
ggerard opened this issue Oct 16, 2012 · 7 comments
Open

Consider support JSON from the filesystem #13

ggerard opened this issue Oct 16, 2012 · 7 comments

Comments

@ggerard
Copy link

ggerard commented Oct 16, 2012

Tried dragging a file onto the URL and it bounced back.

Tried /path/to/file without success.

Tried file:https:///path/to/file without success.

@youknowone
Copy link
Owner

I dragged file from Finder to Address field.

And get this: http:https://i.imgur.com/mNhYz.png

@ggerard
Copy link
Author

ggerard commented Oct 17, 2012

Hmm. Your file has a .json extension. Mine did not.

Perhaps that is the root of it.

Will try tomorrow.

On Oct 16, 2012, at 7:17 PM, Jeong YunWon [email protected] wrote:

I dragged file from Finder to Address field.

And get this: http:https://i.imgur.com/mNhYz.png


Reply to this email directly or view it on GitHub.

@youknowone
Copy link
Owner

I don't think so. I never wrote code about any file extension.
Try it with any file. It will work :)

Just don't forget drag it to address field. You cannot drop it on content field

@ggerard
Copy link
Author

ggerard commented Oct 17, 2012

Okay, here's the pathology.

Open VisualJSON

Drag a file from the Finder onto the Address field.

On mine, it bounces back.

Click the mouse in the Address field (a blue border will appear around the text box).

Drag a file from the Finder onto the Address field.

The path to the file will show in the Address field.

100% repeatable on my two Mountain Lion machines with AppStore and OS updates applied.

On Oct 17, 2012, at 00:10, Jeong YunWon [email protected] wrote:

I don't think so. I never wrote code about any file extension.
Try it with any file. It will work :)

Just don't forget drag it to address field. You cannot drop it on content field


Reply to this email directly or view it on GitHub.

@youknowone
Copy link
Owner

Oh, it don't work if VisualJSON is background.

@youknowone youknowone reopened this Oct 18, 2012
@ggerard
Copy link
Author

ggerard commented Oct 18, 2012

That doesn't seem to be the case either.

--- This one fails.

Launch VisualJSON.

In Finder, begin dragging a JSON file.

Command-Tab to start going through running applications until VisualJSON is selected and release the Command-Tab.

VisualJSON is now in the menu bar.

The cursor still shows the green "+" with the file still in tow.

Drop onto the address field.

The file will bounce back.

--- This one works

Launch VisualJSON.

Select the Address field (this is the only difference from the above script)

In Finder, begin dragging a JSON file.

Command-Tab to start going through running applications until VisualJSON is selected and release the Command-Tab.

VisualJSON is now in the menu bar.

The cursor still shows the green "+" with the file still in tow.

Drop onto the address field.

The file path show in the address field.

On Oct 18, 2012, at 03:31, Jeong YunWon [email protected] wrote:

Oh, it don't work if VisualJSON is background.


Reply to this email directly or view it on GitHub.

@tewha
Copy link

tewha commented Mar 20, 2013

I found it works, but only if you clear the contents of the address field and switch to GET before dragging the file over.

Any chance of updating so you can just hit the window with the file? Or the app icon? That could set GET and the address field.

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

3 participants