Goldie: JsonViewer

Goldie
Parsing System (v0.4)
Goldie Home (v0.4)
Getting Started

- Requirements
- Download / Install
- Never Used a Parsing Tool?
- How To Use Goldie
- Grammar Definition Language
- Message Board
- Ticket System

Goldie's Tools

- DumpCGT
- GenDocs
  - Template Format
- GRMC: Grammar Compiler
- JsonViewer
  - Parse Tree Mode
- Parse
- StaticLang
- Other Tools

GoldieLib Overview

- Static And Dynamic Styles
- Ambiguous Symbols

GoldieLib Reference

- Base
- Exception
- class Language
- class Lexer
- class Parser
- struct Symbol
- class Token
- Ver

GoldieLib Sample Apps

- Calculator Dynamic
- Calculator Static
- Parse Anything

CGT File Format
FAQ
Change Log
If You Use Trunk
Future Work
Developers

- Library Source and StaticLang

Goldie Home (v0.4) -> Goldie's Tools -> JsonViewer

# JsonViewer

Bundled with Goldie is a specially-modified version of JsonViewer. This is not officially part of Goldie, but is included as a convenience. JsonViewer requires the .NET runtime. It has also been tested to run on Linux with Mono, but it's a little bit buggy that way.

The original JsonViewer (available from http://www.codeplex.com/JsonViewer) is a tool written in C# for viewing JSON files (JSON is a text-based data file format and a common alternative to XML).

The version of JsonViewer bundled with Goldie still retains that functionality, but has been modified to include a special Parse Tree Mode for viewing a text document side-by-side with a JSON-based tree that describes the text. This is useful, for example, for viewing the JSON files that are output by Goldie's Parse tool.

Using the Parse Tree Mode: Click a tree node in the left panel to highlight the corresponding section of text. Click a location in the text and then click "Jump to Node" to select the corresponding node.

Source code and Visual C# 2008 Express project files are included. Note that unlike Goldie, JsonViewer is licensed under the Microsoft Community License (Ms-CL) v1.1.

The main JsonViewer executable is here:
{Main Goldie Directory}\JsonViewer\JsonView.exe

A from-scratch rewrite in D is planned.

Note: This program has some trouble with very large JSON files. So when using it with Parse, keep in mind that parse trees tend to get very large, very fast.

### Screenshot: