Popularity
4.9
Declining
Activity
0.0
Stable
7
4
0
Monthly Downloads: 3
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
jason alternatives and similar packages
Based on the "json" category.
Alternatively, view jason alternatives based on common mentions on social networks and blogs.
-
xml-to-json-fast
Fast, light converter of xml to json capable of handling huge xml files -
digestive-functors-aeson
Run digestive-functors against a JSON document -
highjson
Haskell: Low boilerplate, easy to use and very fast Haskell JSON serialisation and parsing -
json-rpc-server
A Haskell implementation of JSON RPC 2.0 on the server side. -
curl-aeson
Haskell library for communicating with HTTP service using JSON -
json-rpc-client
Functions for creating a Haskell JSON-RPC 2.0 client. -
log2json
Take an httpd.conf style LogFormat string and parse log files into JSON records.
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Promo
www.sonarlint.org
Do you think we are missing an alternative of jason or a related project?
README
JASON
A fast JASONETTE-iOS JSON combinator library for haskell.
{-# LANGUAGE OverloadedStrings #-}
module Main where
import Data.Aeson (encode)
import qualified Data.ByteString.Lazy.Char8 as B
import Jason
import Prelude hiding (head)
main :: IO ()
main = B.putStrLn . encode $ renderJason app
app :: Jason
app = jason $ do
head $ do
title "Hello World"
description "This app displays 'Hello World' on the screen"
styles $
"styled_row" .== do
font "HelveticaNeue"
size "20"
color "#ff0000"
padding "10"
data_ $
"names" .-- do
"Lupino"
"Lupino 2"
"Lupino 3"
body $
sections $
items $ do
vertical $
components $ do
label "This is row 1" $ class_ "styled_row"
label "This is row 2" $ class_ "styled_row"
label "This is row 3" $ class_ "styled_row"
horizontal $
components $ do
button "Button 1" $ class_ "styled_row"
button "Button 2" $ class_ "styled_row"
button "Button 3" $ do
class_ "styled_row"
action $ do
type_ "$util.banner"
options $ do
title "Hello"
description "World"
Usage
Install:
stack install jason