title: convert JSON object into REST API
body: <p>Is there any tool or library available which can generate REST API from JSON file. Independent of language. On the basis of JSON object generate REST API.  </p>
  
  <p>for Example:</p>
  
  <pre><code>{  
    "name": "set",
    "type":"function",
    "inputs":[{"name":"num", "type":"int"}]
    "output":[{"name":"value", "type":"int"}]
  }
  </code></pre>
  
  <p>Clarification:  </p>
  
  <p>The JSON file will contain function and its detail like name, input argument and output(return) parameters.<br>
  So according to this JSON file, REST API methods should be generated for the function described in the JSON.<br>
  For ex: A function named <strong>set</strong> and it is accepting one argument num of int type and returning a value of int type.<br>
  Is it possible to generate REST API method for this function like GET and POST from the knowledge of JSON file only?  </p>
  
  <p>Hope it clears the question!</p>