Skip to content

meowtec/url-editor

Repository files navigation

meowtec.github.io/url-editor/

An editor for safely editing URLs or JSONs that contain JSON data.

Examples

You have A URL, like this:

https://example.com/?tabtype=weibo&keyword=100%25

You can edit it using JSON5:

{
  base: 'https://example.com/',
  params: [
    [
      'tabtype',
      'weibo',
    ],
    [
      'keyword',
      '100%',
    ],
  ],
}

Or a JSON like this:

{
  "foo": 1,
  "data": "{\"bar\":12}"
}

Edit like this:

{
  foo: 1,
  data: {
    '// complex-data-type': 'JSON',
    value: {
      bar: 12,
    },
  },
}

About

URL structured editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published