Content deleted Content added
remove copyright content copied from https://www.infoq.com/articles/ballerina-cloud-native-programming/?topicPageSponsorship=053253e5-684d-4280-842d-77fee1f5b1a9 |
→Examples: fix syntaxhighlight errors |
||
Line 44:
=== Hello World ===
The regular Hello World program:
<syntaxhighlight lang="typescript">
import ballerina/io;
Line 60:
The service version of the Hello World program:
<syntaxhighlight lang="text">
import ballerina/http;
Line 80:
=== REST API ===
<syntaxhighlight lang="text">
import ballerina/http;
Line 112:
=== GraphQL API ===
<syntaxhighlight lang="typescript">
import ballerina/graphql;
Line 157:
The language provides support for working with JSON values. The builtin type `json` is defined as the following union: ()|boolean|int|float|decimal|string|json[]|map<json>
<syntaxhighlight lang="typescript">
import ballerina/io;
Line 194:
=== Workers ===
<syntaxhighlight lang="text">
import ballerina/http;
import ballerina/lang.'int;
|