Skip to content

andreyleganov/JSONPreviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSONPreviewer

A simple SwiftUI view for displaying formatted JSON strings.

Installation

Add the package via Swift Package Manager: https://github.com/andreyleganov/JSONPreviewer.git

Usage

import JSONPreviewer

struct ContentView: View {
    var body: some View {
        JSONPreviewView(jsonString: "{\"name\":\"Alice\",\"city\":\"Barcelona\"}")
    }
}

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages