Content deleted Content added
HAL is not mentioned in the JSON spec (RFC4627) at all, the reference should be to the initial HAL draft spec. Cleaned up other links |
m v2.05b - Bot T20 CW#61 - Fix errors for CW project (Reference before punctuation) |
||
(25 intermediate revisions by 21 users not shown) | |||
Line 1:
{{Short description|Proposed computer definition standard}}
'''Hypertext Application Language''' ('''HAL''') is
HAL was created to be simple to use and easily applicable across different [[___domain (software engineering)|domains]] by avoiding the need to impose any requirements on how the project be structured.
APIs that adopt HAL simplify the use of [[open-source software|open source]] libraries and make it possible to interact with the [[application programming interface|API]] using JSON or XML.
== Convention ==
HAL is structured in such a way as to represent elements based on two concepts:
==Example==
General Resource
<
{
"_links": {
Line 20 ⟶ 21:
"name": "HAL Cookbook"
}
</syntaxhighlight>
Embedded resource
<
{
"_links": {
Line 33 ⟶ 34:
"_links": {
"self": {
"href": "http://
}
},
"id": "shahadat",
"name": "Shahadat Hossain Khan",
"homepage": "http://author-example.com"
}
},
Line 43 ⟶ 45:
"name": "HAL Cookbook"
}
</syntaxhighlight>
Collections
<
{
"_links": {
Line 68 ⟶ 70:
"_links": {
"self": {
"href": "http://
}
},
"id": "shahadat",
"name": "Shahadat Hossain Khan",
"homepage": "http://author-example.com"
}
},
Line 78 ⟶ 81:
"name": "HAL Cookbook"
}
</syntaxhighlight>
==See also==
Line 88 ⟶ 91:
==External links==
* [https://tools.ietf.org/html/draft-kelly-json-hal-
[[Category:JSON]]
Line 96 ⟶ 99:
[[Category:XML-based standards]]
[[Category:World Wide Web Consortium standards]]
|