Remove V8 plugin
[platform/core/uifw/dali-toolkit.git] / docs / content / programming-guide / script-hello.md
1 <!--
2 /**-->
3
4  # Hello World - JSON layout{#script-hello}
5
6  The following JSON code is the minimum required to put the sentence "Hello World" on the screen.
7
8 ~~~{.json}
9 {
10  // a tree of actors
11  "stage": [{
12    "name": "text-label",
13    "type": "TextLabel",
14    "text": "Hello World",
15    "parentOrigin": "CENTER"
16  }]
17 }
18 ~~~
19
20  The following code loads the JSON file
21
22 ~~~{.cpp}
23  // C++
24  Builder builder = Builder::New();
25
26  std::string json_data(ReadFile("layout.json"));
27
28  builder.LoadFromString(json_data);
29
30  builder.AddActors( Stage::GetCurrent().GetRootLayer() );
31
32  ~~~
33
34
35 */