This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Configuration; | |
using System.IO; | |
using System.Net; | |
using System.Net.Http; | |
using System.Net.Http.Headers; | |
using System.Text; | |
using System.Web; | |
namespace Console.handler | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Usage: | |
// var parser = new ApiHttpGetModelParser(); | |
// var result = parser.parseApiGetModel({id:1,arr:[1,2,3]}); // suit web api | |
// result is {"id":1,"arr[0]":1,"arr[1]":2,"arr[2]":3} | |
function ApiHttpGetModelParser() { |