dummy-link

URITemplate

RFC6570 URI templates for Julia

Readme

URITemplate.jl

Build Status

URITemplate URITemplate

This package provides URI Template interpolation by implementing RFC 6570. The only interface to this function is the expand method which may be invoked as

URITemplate.expand(template,variables)

e.g:

vars = {"var" => "value", "hello" => "Hello World!","list"=>["red", "green", "blue"]}
URITemplate.expand("{var}",vars) # "value"
URITemplate.expand("{hello}",vars) # "Hello%20World%21"
URITemplate.expand("{?list*}",vars) == "?list=red&list=green&list=blue"

This package is supposed to conform to the above mentioned RFC. If you find a case in which is does not, please open an Issue.

First Commit

07/15/2013

Last Touched

almost 3 years ago

Commits

11 commits