Skip to content

Suggestion: Replace JSON-like data structure with RapidJSON (or similar) #32

Description

@ksdhans

Using RapidJSON instead of the existing JSON-like data structure would make having both server and client-side rendering easier. Basically, you'd pass the JSON data to mstch for rendering if a prerendered page is needed. And, RapidJSON would generate the JSON string when the browser makes an ajax request (for client side rendering). No need to have separate code to assemble the data for the different uses.

Alternatively, a JSON parser and serializer that uses the same data structure as mstch would work too (preferably without external dependencies like Boost).

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions