<< < 42 43 44 45 46 47 48 49 50 51 52 > >>   Sort: Rank

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, 1537🔥, 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, 1396🔥, 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, 1341🔥, 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, 1334🔥, 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, 3418🔥, 0💬

Call JSON.stringify() with Replacer Function
What is a replacer function that you can provide the JSON.stringify() function call? The replacer function is an event handler function that is called repeatedly whenever a value, an array element or an object property is stringified during the execution of the JSON.stringify() function. The replace...
2017-09-08, 2798🔥, 0💬

JSON-parse-Transformed.html - JSON.parse() Value Transformed
How to write a reviver function to transform values while the JSON.parse() function is parsing the JSON text string? Below is a good example on using a reviver function with the JSON.parse() call to transform parsed JSON element values: &lt;!-- JSON-parse-Transformed.html Copyright (c) FYIcenter...
2017-09-08, 2339🔥, 0💬

JSON-stringify-Object.html - JSON.stringify() on Objects
How JSON.stringify() behaves on JavaScript objects? When processing an object, JSON.stringify() behave depending on the type of objects based on the following rules: Boolean, Number, and String objects are converted to the corresponding primitive JSON values during stringification. Date objects are ...
2017-09-08, 2278🔥, 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, 4001🔥, 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, 1691🔥, 0💬

JSON Schema Validation Keywords
How many validation keywords are supported in JSON Schema? The current JSON Schema specification supports 29 validation keywords: "multipleOf" - If the JSON instance is a number, it must be a multiple of the given value. "maximum" - If the JSON instance is a number, it must be less than or equal to ...
2017-09-01, 1586🔥, 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, 1529🔥, 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, 1468🔥, 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, 1655🔥, 0💬

References to JSON Types Defined Externally
How to reference a JSON type that is defined externally in another JSON Schema? If a JSON type is defined externally in another JSON schema, you can reference it using its absolute address. For example, the following JSON schema has two external references. One refers to a JSON Type defined in a loc...
2017-08-25, 1545🔥, 0💬

JSON Type Definitions and References
How to define a JSON type and reference it in JSON Schema? If you want to define a JSON type, and reference it later in your JSON Schema, you can: 1. Name your JSON type can put it inside the "definitions" property. For example, "rating" as a JSON type can be defined as shown below: { "definitions":...
2017-08-25, 1473🔥, 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, 1460🔥, 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, 1353🔥, 0💬

Start Visual Studio Command Prompt
How to start Visual Studio Command Prompt? I have Visual Studio 2017 Community version with Visual C++ environment installed. If you have Visual Studio 2017 Community version with Visual C++ environment installed, you can follow this tutorial to start Visual Studio Command Prompt: 1. Run "All Progra...
2017-08-21, 7217🔥, 0💬

"link" - Link Object Files (*.obj)
How to use "link" command tool to link objet files? If you have object files previously compiled by your or others, you can follow this tutorial to link them into executable files: 1. Create a simple C++ program, Hello.cpp, with a text editor: #include &lt;iostream&gt; using namespace std; v...
2017-08-21, 3979🔥, 0💬

"cl" - Compile and Link C++ Program
How to use "cl" command tool to compile and link a C++ program? If you want to compile and link a standard C++ program with "cl" command tool, you can follow this tutorial: 1. Create a simple C++ program, Hello.cpp, with a text editor: #include &lt;iostream&gt; using namespace std; void main...
2017-08-21, 2498🔥, 0💬

"Hello.c" - Compile and Run C Program
How to use Visual Studio command tools to compile and run a C program? If you want to compile and run a standard C program with Visual Studio command tools, you can follow this tutorial: 1. Create a simple C program, Hello.c, with a text editor: #include &lt;stdio.h&gt; void main() { printf(...
2017-08-21, 2415🔥, 0💬

What Is Visual Studio Command Prompt
What is Visual Studio Command Prompt? Visual Studio Command Prompt is command line window with all required environment variables defined to run Visual Studio command line tools. Visual Studio command line tools includes: cl (the compiler) - To compile and link source code files into apps, libraries...
2017-08-21, 1761🔥, 0💬

Implicit and Explicit ID of JSON Type
What are differences of the implicit ID and the explicit ID of a JSON type in JSON Schema? If a JSON type is defined under a "definitions" property, it could have two identifications: 1. Implicit identification: The implicit identification of a JSON type is an internal bookmark in the form of "#/def...
2017-08-20, 1653🔥, 0💬

<< < 42 43 44 45 46 47 48 49 50 51 52 > >>   Sort: Rank