Skip to content

Embeddable version of JSON Hero - needed feature #143

Open

Description

@babazookz

I am using a JSON Hero tool a lot and whenever I use it, I have to open in another tab and continue browsing the JSON.

So, I was thinking is there a chance to use JSON Hero tool on the same page where I am opening it from - my app page by using <iframe> for example?

Activity

  1. abhaykumarvats commented on Apr 15, 2023

    @abhaykumarvats
    Contributor

    @babazookz / @ericallam This seems like a great idea. I would like to work on it. I just need some guidance on how to go on about developing it. Thanks.

  2. matt-aitken commented on Apr 17, 2023

    @matt-aitken
    Member

    Displaying the site in an iframe will probably work already, but I'm assuming we want to hide some of the UI?

    Some extra query params could be added to the url, e.g. ?embed=true and that would hide the top nav bar for example.

  3. abhaykumarvats commented on Apr 17, 2023

    @abhaykumarvats
    Contributor

    @matt-aitken Alright, I will take this one. Let's see what I come up with.

  4. abhaykumarvats commented on Apr 18, 2023

    @abhaykumarvats
    Contributor

    @babazookz What's the flow in your mind? How would you want to open JSON Hero in an embedded window? Do you have high-level steps in mind. Like, what should a user do to get to the embedded window. Would be of great help. Thanks.

  5. babazookz commented on Apr 18, 2023

    @babazookz
    Author

    @babazookz What's the flow in your mind? How would you want to open JSON Hero in an embedded window? Do you have high-level steps in mind. Like, what should a user do to get to the embedded window. Would be of great help. Thanks.

    Hey, to be honest, the only thing I have is a high level idea. It goes like this, imagine situation where I want to use JSON hero on my own page as a invokable Modal window.

    Lets say I am building an app which works with JSON files and at one point I want to open a JSON file without redirecting towards JSON hero page but invoking the iframe within some Modal window within my personal app.

    Did I help you a bit?

  6. changdy commented on Jun 28, 2023

    @changdy

    @ericallam @babazookz

    Hello ,My firends , I used jsoncrack for a months, but I think JSON-HERO is more suitable for me .
    It is very to use , and can do much more things than I thought.
    Now , I meet the same problem , I want to embe it into my page too.

    First , i want to deploy JSON-HERO in my own computer , because it is not very easy for Chinese to visit foreign website( government policy)

    For jsoncrack , I can deploy it by run docker build , but I do not know how to do this with JSON-HERO .

    Second , I want to embed JSON-HERO into my page too . for jsoncrack (https://codepen.io/AykutSarac/pen/QWBbpqx) , I can use contentWindow.postMessage to pase json text , dose JSON-HERO support this function ? Will you develop this

    I not a native English speaker , so my English is very poor .

    Thanks for reading my letter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions