GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dj2/query_string_parser: A simple query string parser

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
ext
ext
 
 
lib
lib
 
 
spec
spec
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README
README
 
 
Rakefile
Rakefile
 
 
VERSION
VERSION
 
 
query_string_parser.gemspec
query_string_parser.gemspec
 
 

Repository files navigation

Query String Parser
===================

We parse a lot of queries at PostRank Inc. The time taken to parse those queries starts to add up.
Eventually we got to the point where we decided to create a simple C based parser. Hence, QueryStringParser.

A more detailed explanation of the origins can be found at: http://everburning.com/news/introducing-querystringparser

Usage is pretty simple, you can either call the function against the QueryStringParser module, or include
the module into your code. There is only one method, qs_parse.

  require 'query_string_parser'
  QueryStringParser.qs_parse("my=query&string=parser")
  => {"my"=>"query", "string"=>"parser"}

  include QueryStringParser
  qs_parse("does[]=array&does[]=data&does[3]=values&does=more")
  => {"does"=>["array", "data", "values", "more"]}


Questions, comments, drop me a line. dj2 at everburning dot com

About

A simple query string parser

Resources

Readme
License
Activity

Stars

16 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.