<< < 11 12 13 14 15 16 17 18 > >>   Sort: Date

Converting Character to ASCII Value in PHP
How To Convert a Character to an ASCII Value? If you want to convert characters to ASCII values, you can use the ord() function, which takes the first charcter of the specified string, and returns its ASCII value in decimal format. ord() complements chr(). Here is a PHP script on how to use ord(): &...
2016-10-13, 239👍, 0💬

'type' - JSON Schema Validation Keyword
How to use the "type" JSON Schema validation keyword to validate JSON instances? "type" is a generic JSON Schema validation keyword that always applied to the JSON instance. When "type" is specified, the JSON instance must match one of the given JSON types: "null", "boolean", "object", "array", "num...
2017-08-25, 238👍, 0💬

JSON Schema Validation for JSON Array Values
What validation keywords I can use in JSON Schema to specifically validate JSON Array values? The current JSON Schema specification supports the following validation keywords to specifically validate JSON Array values. They are not applied if the JSON instance is not a JSON Array. "items" - If the J...
2017-09-01, 237👍, 0💬

Multiple JSON Schema Validation Keywords
How multiple Validation Keywords work in JSON Schema? Multiple Validation Keywords work in JSON Schema with the "AND" logic. The order of validation keywords is not important. In other words, all of them are applied individually to the JSON instance based their specified conditions. For example, the...
2017-08-25, 237👍, 0💬

Convert XML to JSON with PHP
How to convert an XML document to a JSON text string with PHP language? Currently, there is no built-in function or any standard extension that you can use to convert an XML document to a JSON text string. But you can use the following PHP example, xml_to_json_converter.php, to convert an XML docume...
2017-08-17, 235👍, 0💬

HTML 'textarea' Element Attributes
What Are the Attributes of a "textarea" Element? There are several commonly used attributes for a "textarea" element: rows="n" - Required attribute. Used to specify the number of rows of the text input area. cols="n" - Required attribute. Used to specify the number of columns of the text input area....
2017-04-04, 235👍, 0💬

HTML Element Contents
What Is the XHTML Element Content? The content of an HTML element is everything you entered between the opening tag and the closing tag of the element. Here are some good examples of XHTML element contents: &lt;!-- An empty table cell --&gt; &lt;td&gt;&lt;/td& amp;gt;&lt;!-- ...
2017-07-30, 233👍, 0💬

Generating Character from ASCII Value in PHP
How To Generate a Character from an ASCII Value? If you want to generate characters from ASCII values, you can use the chr() function. chr() takes the ASCII value in decimal format and returns the character represented by the ASCII value. chr() complements ord(). Here is a PHP script on how to use c...
2016-10-13, 233👍, 0💬

JSON Schema Validation for JSON String Values
What validation keywords I can use in JSON Schema to specifically validate JSON String values? The current JSON Schema specification supports the following validation keywords to specifically validate JSON Strings values. They are not applied if the JSON instance is not a JSON String. "maxLength" - ...
2017-09-01, 232👍, 0💬

WPF App with VC# and XAML in Visual Studio 2017
How to build a WPF application with VC# and XAML in Visual Studio 2017? If you want to build a WPF (Windows Presentation Foundation) application with VC# and XAML in Visual Studio 2017, you can follow this tutorial 1. Start Visual Studio 2017 with .NET development environment. 2. Click "File &gt...
2017-08-13, 229👍, 0💬

Generic JSON Schema Validation Keywords
What are other generic JSON Schema validation keywords? Several other generic JSON Schema validation keywords are listed below. They are always applied to the JSON instance. "enum" - The JSON instance must match one of the elements in the given array. For example, JSON Schema: {"enum": ["YES", "NO"]...
2017-08-25, 227👍, 0💬

HTML Element Content Models
What Are the HTML Element Content Models? There are 4 content models defined for HTML elements: 1. EMPTY - No content. Nothing between the opening tag and the closing tag. For example: &lt;br/&gt; - "br" element has no content. &lt;br&gt;&lt;/br& amp;gt;- Same as above. &lt;m...
2017-07-30, 226👍, 0💬

Examples of Invalid JSON Values
Where to see some Examples of Invalid JSON Values? Here are some Examples of Invalid JSON Values: 1. Invalid JSON Strings: 'John' - Wrong quotes "John says "Hello!"" - " inside the string must use escape sequence \" 2. Invalid JSON Numbers: $1.00 - Currency sign is now allowed in numbers 99.00 * 0.1...
2017-08-13, 223👍, 0💬

JSON Schema Validation for JSON Number Values
What validation keywords I can use in JSON Schema to specifically validate JSON Number values? The current JSON Schema specification supports the following validation keywords to specifically validate JSON Number values. They are not applied if the JSON instance is not a JSON Number. "multipleOf" - ...
2017-09-01, 220👍, 0💬

Defining Functions in Python
Where to find tutorials in Defining Functions in Python? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Defining Functions in Python: What Is Function 'def' - Function Definition Statements 'return' Statement in Function Statement Block Functi...
2017-09-12, 218👍, 0💬

JSON Type Unique Identifications
How to assign a unique identification to a JSON type in JSON Schema? Using "definitions" and "$ref" properties allows to define JSON types and reference them internally in the same JSON schema or externally in another JSON schema. You can also assign a unique identification to a JSON type with the "...
2017-08-20, 218👍, 0💬

Use Developer Portal Internally
How to use the Developer Portal internally by you as the publisher? Normally, the Developer Portal of an Azure API Management Service is used by client developers. But as a publisher, you can also use the Developer Portal to test API operations internally. You can follow this tutorial to access the ...
2017-09-20, 215👍, 0💬

JSON Schema Validation for JSON Object Values
What validation keywords I can use in JSON Schema to specifically validate JSON Object values? The current JSON Schema specification supports the following validation keywords to specifically validate JSON Object values. They are not applied if the JSON instance is not a JSON Object. "maxProperties"...
2017-09-01, 215👍, 0💬

'pass' - Do Nothing Statements
How to use the "pass" statement in Python code? The "pass" statement can be used as a place holder statement any where in Python code. When a "pass" statement is interpreted, Python will do nothing and continue with next statement. For example, the following Python code shows an empty function with ...
2017-09-12, 214👍, 0💬

'continue' Statement in Repeating Statement Blocks
How to use the "continue" statement in a repeating statement block in Python code? The "continue" statement can be used in a repeating statement block like "for" and "while" loops to continue with the next looping item immediately. When a "continue" statement is interpreted, Python will skip the res...
2017-09-12, 214👍, 0💬

JSON-stringify.html - JSON.stringify() Example Code
Where to get a JSON.stringify() Example Code in JavaScript? Here is a good JSON.stringify() example code in JavaScript. &lt;!-- JSON-stringify.html Copyright (c) FYIcenter.com --&gt; &lt;html&gt; &lt;body&gt; &lt;script type="text/javascript"&gt; var str1 = JSON.strin...
2017-09-08, 213👍, 0💬

What Is Function
What Is Function in Python? A function, also called a method, in Python is a statement block waiting to be executed later with a function call expression. A function can have the following elements: Function name - A symbolic name that uniquely identifies this function within the context. Parameter ...
2017-09-12, 211👍, 0💬

Create Visual C# Project in Visual Studio 2017
How to Create a Visual C# Program Project with Visual Studio 2017? If you are new to Visual Studio 2017, you can follow tutorial to create your first Visual C# program project in Visual Studio 2017. 1. Start Visual Studio 2017 with .NET development environment. 2. Click "File &gt; New &gt; P...
2017-08-13, 209👍, 0💬

JSON.stringify() Function in JavaScript
Where to get the detailed description of the JSON.stringify() Function in JavaScript? Here is the detailed description of the JSON.stringify() Function in JavaScript. Description - The JSON.stringify() method converts a JavaScript value to a JSON string, optionally replacing values if a replacer fun...
2017-09-08, 208👍, 0💬

<< < 11 12 13 14 15 16 17 18 > >>   Sort: Date